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

Side by Side Diff: third_party/sqlite/sqlite-src-3070603/ext/fts1/fts1.c

Issue 826543003: [sql] Import reference version of SQLite 3.7.6.3. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: gitignore forgot some files for me. Created 5 years, 11 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
OLDNEW
1 /* fts1 has a design flaw which can lead to database corruption (see 1 /* fts1 has a design flaw which can lead to database corruption (see
2 ** below). It is recommended not to use it any longer, instead use 2 ** below). It is recommended not to use it any longer, instead use
3 ** fts3 (or higher). If you believe that your use of fts1 is safe, 3 ** fts3 (or higher). If you believe that your use of fts1 is safe,
4 ** add -DSQLITE_ENABLE_BROKEN_FTS1=1 to your CFLAGS. 4 ** add -DSQLITE_ENABLE_BROKEN_FTS1=1 to your CFLAGS.
5 */ 5 */
6 #if (!defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS1)) \ 6 #if (!defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS1)) \
7 && !defined(SQLITE_ENABLE_BROKEN_FTS1) 7 && !defined(SQLITE_ENABLE_BROKEN_FTS1)
8 #error fts1 has a design flaw and has been deprecated. 8 #error fts1 has a design flaw and has been deprecated.
9 #endif 9 #endif
10 /* The flaw is that fts1 uses the content table's unaliased rowid as 10 /* The flaw is that fts1 uses the content table's unaliased rowid as
(...skipping 3325 matching lines...) Expand 10 before | Expand all | Expand 10 after
3336 3336
3337 #if !SQLITE_CORE 3337 #if !SQLITE_CORE
3338 int sqlite3_extension_init(sqlite3 *db, char **pzErrMsg, 3338 int sqlite3_extension_init(sqlite3 *db, char **pzErrMsg,
3339 const sqlite3_api_routines *pApi){ 3339 const sqlite3_api_routines *pApi){
3340 SQLITE_EXTENSION_INIT2(pApi) 3340 SQLITE_EXTENSION_INIT2(pApi)
3341 return sqlite3Fts1Init(db); 3341 return sqlite3Fts1Init(db);
3342 } 3342 }
3343 #endif 3343 #endif
3344 3344
3345 #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS1) */ 3345 #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS1) */
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3070603/ext/fts1/fts1.h ('k') | third_party/sqlite/sqlite-src-3070603/ext/fts1/fts1_hash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698