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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 case AutoVacuumNone: | 394 case AutoVacuumNone: |
395 default: | 395 default: |
396 if (!executeCommand("PRAGMA auto_vacuum = 2")) | 396 if (!executeCommand("PRAGMA auto_vacuum = 2")) |
397 return false; | 397 return false; |
398 runVacuumCommand(); | 398 runVacuumCommand(); |
399 error = lastError(); | 399 error = lastError(); |
400 return (error == SQLITE_OK); | 400 return (error == SQLITE_OK); |
401 } | 401 } |
402 } | 402 } |
403 | 403 |
404 DEFINE_TRACE(SQLiteDatabase) | |
405 { | |
406 visitor->trace(m_authorizer); | |
407 } | |
408 | |
409 } // namespace blink | 404 } // namespace blink |
OLD | NEW |