| OLD | NEW |
| 1 /* | 1 /* |
| 2 ** 2001 September 15 | 2 ** 2001 September 15 |
| 3 ** | 3 ** |
| 4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
| 5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
| 6 ** | 6 ** |
| 7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
| 8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
| 9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
| 10 ** | 10 ** |
| (...skipping 6370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6381 ** These constants can be used as the 3rd parameter to | 6381 ** These constants can be used as the 3rd parameter to |
| 6382 ** [sqlite3_wal_checkpoint_v2()]. See the [sqlite3_wal_checkpoint_v2()] | 6382 ** [sqlite3_wal_checkpoint_v2()]. See the [sqlite3_wal_checkpoint_v2()] |
| 6383 ** documentation for additional information about the meaning and use of | 6383 ** documentation for additional information about the meaning and use of |
| 6384 ** each of these values. | 6384 ** each of these values. |
| 6385 */ | 6385 */ |
| 6386 #define SQLITE_CHECKPOINT_PASSIVE 0 | 6386 #define SQLITE_CHECKPOINT_PASSIVE 0 |
| 6387 #define SQLITE_CHECKPOINT_FULL 1 | 6387 #define SQLITE_CHECKPOINT_FULL 1 |
| 6388 #define SQLITE_CHECKPOINT_RESTART 2 | 6388 #define SQLITE_CHECKPOINT_RESTART 2 |
| 6389 | 6389 |
| 6390 | 6390 |
| 6391 /* Begin recover.patch for Chromium */ | |
| 6392 /* | |
| 6393 ** Call to initialize the recover virtual-table modules (see recover.c). | |
| 6394 ** | |
| 6395 ** This could be loaded by default in main.c, but that would make the | |
| 6396 ** virtual table available to Web SQL. Breaking it out allows only | |
| 6397 ** selected users to enable it (currently sql/recovery.cc). | |
| 6398 */ | |
| 6399 int recoverVtableInit(sqlite3 *db); | |
| 6400 /* End recover.patch for Chromium */ | |
| 6401 | |
| 6402 /* | 6391 /* |
| 6403 ** Undo the hack that converts floating point types to integer for | 6392 ** Undo the hack that converts floating point types to integer for |
| 6404 ** builds on processors without floating point support. | 6393 ** builds on processors without floating point support. |
| 6405 */ | 6394 */ |
| 6406 #ifdef SQLITE_OMIT_FLOATING_POINT | 6395 #ifdef SQLITE_OMIT_FLOATING_POINT |
| 6407 # undef double | 6396 # undef double |
| 6408 #endif | 6397 #endif |
| 6409 | 6398 |
| 6410 #ifdef __cplusplus | 6399 #ifdef __cplusplus |
| 6411 } /* End of the 'extern "C"' block */ | 6400 } /* End of the 'extern "C"' block */ |
| 6412 #endif | 6401 #endif |
| 6413 #endif | 6402 #endif |
| OLD | NEW |