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

Side by Side Diff: third_party/sqlite/src/src/sqliteInt.h

Issue 2623083002: [sql] Move time-machine support from third_party/sqlite to sql/ (Closed)
Patch Set: scoped-ref in test, too, iwyu pass to remove leftover-from-prototype includes. Created 3 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
« no previous file with comments | « third_party/sqlite/src/src/pager.c ('k') | no next file » | 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 3150 matching lines...) Expand 10 before | Expand all | Expand 10 after
3161 /* 3161 /*
3162 ** The ctype.h header is needed for non-ASCII systems. It is also 3162 ** The ctype.h header is needed for non-ASCII systems. It is also
3163 ** needed by FTS3 when FTS3 is included in the amalgamation. 3163 ** needed by FTS3 when FTS3 is included in the amalgamation.
3164 */ 3164 */
3165 #if !defined(SQLITE_ASCII) || \ 3165 #if !defined(SQLITE_ASCII) || \
3166 (defined(SQLITE_ENABLE_FTS3) && defined(SQLITE_AMALGAMATION)) 3166 (defined(SQLITE_ENABLE_FTS3) && defined(SQLITE_AMALGAMATION))
3167 # include <ctype.h> 3167 # include <ctype.h>
3168 #endif 3168 #endif
3169 3169
3170 /* 3170 /*
3171 ** The CoreServices.h and CoreFoundation.h headers are needed for excluding a
3172 ** -journal file from Time Machine backups when its associated database has
3173 ** previously been excluded by the client code.
3174 */
3175 #if defined(__APPLE__)
3176 #include <CoreServices/CoreServices.h>
3177 #include <CoreFoundation/CoreFoundation.h>
3178 #endif
3179
3180 /*
3181 ** The following macros mimic the standard library functions toupper(), 3171 ** The following macros mimic the standard library functions toupper(),
3182 ** isspace(), isalnum(), isdigit() and isxdigit(), respectively. The 3172 ** isspace(), isalnum(), isdigit() and isxdigit(), respectively. The
3183 ** sqlite versions only work for ASCII characters, regardless of locale. 3173 ** sqlite versions only work for ASCII characters, regardless of locale.
3184 */ 3174 */
3185 #ifdef SQLITE_ASCII 3175 #ifdef SQLITE_ASCII
3186 # define sqlite3Toupper(x) ((x)&~(sqlite3CtypeMap[(unsigned char)(x)]&0x20)) 3176 # define sqlite3Toupper(x) ((x)&~(sqlite3CtypeMap[(unsigned char)(x)]&0x20))
3187 # define sqlite3Isspace(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x01) 3177 # define sqlite3Isspace(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x01)
3188 # define sqlite3Isalnum(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x06) 3178 # define sqlite3Isalnum(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x06)
3189 # define sqlite3Isalpha(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x02) 3179 # define sqlite3Isalpha(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x02)
3190 # define sqlite3Isdigit(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x04) 3180 # define sqlite3Isdigit(x) (sqlite3CtypeMap[(unsigned char)(x)]&0x04)
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
4047 #if SQLITE_MAX_WORKER_THREADS>0 4037 #if SQLITE_MAX_WORKER_THREADS>0
4048 int sqlite3ThreadCreate(SQLiteThread**,void*(*)(void*),void*); 4038 int sqlite3ThreadCreate(SQLiteThread**,void*(*)(void*),void*);
4049 int sqlite3ThreadJoin(SQLiteThread*, void**); 4039 int sqlite3ThreadJoin(SQLiteThread*, void**);
4050 #endif 4040 #endif
4051 4041
4052 #if defined(SQLITE_ENABLE_DBSTAT_VTAB) || defined(SQLITE_TEST) 4042 #if defined(SQLITE_ENABLE_DBSTAT_VTAB) || defined(SQLITE_TEST)
4053 int sqlite3DbstatRegister(sqlite3*); 4043 int sqlite3DbstatRegister(sqlite3*);
4054 #endif 4044 #endif
4055 4045
4056 #endif /* _SQLITEINT_H_ */ 4046 #endif /* _SQLITEINT_H_ */
OLDNEW
« no previous file with comments | « third_party/sqlite/src/src/pager.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698