Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: third_party/sqlite/amalgamation/sqlite3.h

Issue 1700483002: [sqlite] iOS running recover virtual table. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zzsql_recover_handle_review2
Patch Set: Manually find sql/test/data for now. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sql/recovery_unittest.cc ('k') | third_party/sqlite/amalgamation/sqlite3.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7393 matching lines...) Expand 10 before | Expand all | Expand 10 after
7404 ** SQL dialect understood by SQLite. ^The [sqlite3_strglob(P,X)] function 7404 ** SQL dialect understood by SQLite. ^The [sqlite3_strglob(P,X)] function
7405 ** is case sensitive. 7405 ** is case sensitive.
7406 ** 7406 **
7407 ** Note that this routine returns zero on a match and non-zero if the strings 7407 ** Note that this routine returns zero on a match and non-zero if the strings
7408 ** do not match, the same as [sqlite3_stricmp()] and [sqlite3_strnicmp()]. 7408 ** do not match, the same as [sqlite3_stricmp()] and [sqlite3_strnicmp()].
7409 ** 7409 **
7410 ** See also: [sqlite3_strlike()]. 7410 ** See also: [sqlite3_strlike()].
7411 */ 7411 */
7412 SQLITE_API int SQLITE_STDCALL sqlite3_strglob(const char *zGlob, const char *zSt r); 7412 SQLITE_API int SQLITE_STDCALL sqlite3_strglob(const char *zGlob, const char *zSt r);
7413 7413
7414 /* Begin recover virtual table patch for Chromium */
7415 /* Our patches don't conform to SQLite's amalgamation processing. Hack it. */
7416 #ifndef CHROMIUM_SQLITE_API
7417 #define CHROMIUM_SQLITE_API SQLITE_API
7418 #endif
7419 /*
7420 ** Call to initialize the recover virtual-table modules (see recover.c).
7421 **
7422 ** This could be loaded by default in main.c, but that would make the
7423 ** virtual table available to Web SQL. Breaking it out allows only
7424 ** selected users to enable it (currently sql/recovery.cc).
7425 */
7426 CHROMIUM_SQLITE_API
7427 int recoverVtableInit(sqlite3 *db);
7428 /* End recover virtual table patch for Chromium */
7429
7430 /* Begin WebDatabase patch for Chromium */ 7414 /* Begin WebDatabase patch for Chromium */
7431 /* Expose some SQLite internals for the WebDatabase vfs. 7415 /* Expose some SQLite internals for the WebDatabase vfs.
7432 ** DO NOT EXTEND THE USE OF THIS. 7416 ** DO NOT EXTEND THE USE OF THIS.
7433 */ 7417 */
7434 #ifndef CHROMIUM_SQLITE_API 7418 #ifndef CHROMIUM_SQLITE_API
7435 #define CHROMIUM_SQLITE_API SQLITE_API 7419 #define CHROMIUM_SQLITE_API SQLITE_API
7436 #endif 7420 #endif
7437 #if defined(CHROMIUM_SQLITE_INTERNALS) 7421 #if defined(CHROMIUM_SQLITE_INTERNALS)
7438 #ifdef _WIN32 7422 #ifdef _WIN32
7439 CHROMIUM_SQLITE_API 7423 CHROMIUM_SQLITE_API
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after
8660 ** END OF REGISTRATION API 8644 ** END OF REGISTRATION API
8661 *************************************************************************/ 8645 *************************************************************************/
8662 8646
8663 #ifdef __cplusplus 8647 #ifdef __cplusplus
8664 } /* end of the 'extern "C"' block */ 8648 } /* end of the 'extern "C"' block */
8665 #endif 8649 #endif
8666 8650
8667 #endif /* _FTS5_H */ 8651 #endif /* _FTS5_H */
8668 8652
8669 8653
OLDNEW
« no previous file with comments | « sql/recovery_unittest.cc ('k') | third_party/sqlite/amalgamation/sqlite3.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698