| 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 4676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4687 ** Preload the databases into the pager cache, up to the maximum size of the | 4687 ** Preload the databases into the pager cache, up to the maximum size of the |
| 4688 ** pager cache. | 4688 ** pager cache. |
| 4689 ** | 4689 ** |
| 4690 ** For a database to be loaded successfully, the pager must be active. That is, | 4690 ** For a database to be loaded successfully, the pager must be active. That is, |
| 4691 ** there must be an open statement on that database. See sqlite3pager_loadall | 4691 ** there must be an open statement on that database. See sqlite3pager_loadall |
| 4692 ** | 4692 ** |
| 4693 ** There might be many databases attached to the given connection. We iterate | 4693 ** There might be many databases attached to the given connection. We iterate |
| 4694 ** them all and try to load them. If none are loadable successfully, we return | 4694 ** them all and try to load them. If none are loadable successfully, we return |
| 4695 ** an error. Otherwise, we return OK. | 4695 ** an error. Otherwise, we return OK. |
| 4696 */ | 4696 */ |
| 4697 int sqlite3Preload(sqlite3 *db); | 4697 SQLITE_API int sqlite3_preload(sqlite3 *db); |
| 4698 /* End preload-cache.patch for Chromium */ | 4698 /* End preload-cache.patch for Chromium */ |
| 4699 | 4699 |
| 4700 /* | 4700 /* |
| 4701 ** CAPI3REF: Virtual File System Objects {H11200} <S20100> | 4701 ** CAPI3REF: Virtual File System Objects {H11200} <S20100> |
| 4702 ** | 4702 ** |
| 4703 ** A virtual filesystem (VFS) is an [sqlite3_vfs] object | 4703 ** A virtual filesystem (VFS) is an [sqlite3_vfs] object |
| 4704 ** that SQLite uses to interact | 4704 ** that SQLite uses to interact |
| 4705 ** with the underlying operating system. Most SQLite builds come with a | 4705 ** with the underlying operating system. Most SQLite builds come with a |
| 4706 ** single default VFS that is appropriate for the host computer. | 4706 ** single default VFS that is appropriate for the host computer. |
| 4707 ** New VFSes can be registered and existing VFSes can be unregistered. | 4707 ** New VFSes can be registered and existing VFSes can be unregistered. |
| (...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5765 */ | 5765 */ |
| 5766 #ifdef SQLITE_OMIT_FLOATING_POINT | 5766 #ifdef SQLITE_OMIT_FLOATING_POINT |
| 5767 # undef double | 5767 # undef double |
| 5768 #endif | 5768 #endif |
| 5769 | 5769 |
| 5770 #ifdef __cplusplus | 5770 #ifdef __cplusplus |
| 5771 } /* End of the 'extern "C"' block */ | 5771 } /* End of the 'extern "C"' block */ |
| 5772 #endif | 5772 #endif |
| 5773 #endif | 5773 #endif |
| 5774 | 5774 |
| OLD | NEW |