OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com) | 3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com) |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 case AutoVacuumNone: | 414 case AutoVacuumNone: |
415 default: | 415 default: |
416 if (!executeCommand("PRAGMA auto_vacuum = 2")) | 416 if (!executeCommand("PRAGMA auto_vacuum = 2")) |
417 return false; | 417 return false; |
418 runVacuumCommand(); | 418 runVacuumCommand(); |
419 error = lastError(); | 419 error = lastError(); |
420 return (error == SQLITE_OK); | 420 return (error == SQLITE_OK); |
421 } | 421 } |
422 } | 422 } |
423 | 423 |
| 424 void SQLiteDatabase::trace(Visitor* visitor) |
| 425 { |
| 426 visitor->trace(m_authorizer); |
| 427 } |
| 428 |
424 } // namespace WebCore | 429 } // namespace WebCore |
OLD | NEW |