From ca07b9df47e615a8f510faff023d585ef889206c Mon Sep 17 00:00:00 2001 From: shaneh Date: Tue, 23 Feb 2010 05:17:51 +0000 Subject: [PATCH] Removed checking of some compile options from the sqlite3_compileopts() API. FossilOrigin-Name: 833da702ff9bd99d62640756d80e094256efff5c --- manifest | 16 +- manifest.uuid | 2 +- src/main.c | 707 +++++++++++++++++++++++--------------------------- 3 files changed, 329 insertions(+), 396 deletions(-) diff --git a/manifest b/manifest index 69ae5b8fc2..6e5969c25e 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Test\snew\sapi\sto\sreport\swhich\soptions\s(defines)\swere\sused\sto\scompile\sSQLite. -D 2010-02-23T04:19:55 +C Removed\schecking\sof\ssome\scompile\soptions\sfrom\sthe\ssqlite3_compileopts()\sAPI. +D 2010-02-23T05:17:52 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0 F Makefile.in c5827ead754ab32b9585487177c93bb00b9497b3 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654 @@ -130,7 +130,7 @@ F src/journal.c b0ea6b70b532961118ab70301c00a33089f9315c F src/legacy.c 16f385490f377c2c80a6c7357391d499087defed F src/lempar.c 7f026423f4d71d989e719a743f98a1cbd4e6d99e F src/loadext.c 1c7a61ce1281041f437333f366a96aa0d29bb581 -F src/main.c e3e88f01f0f3555b837c867f6cdb9342a5ea3333 +F src/main.c e75d96a0bd6f874a18d5dac855d330a4739de0b2 F src/malloc.c 5fa175797f982b178eaf38afba9c588a866be729 F src/mem0.c 6a55ebe57c46ca1a7d98da93aaa07f99f1059645 F src/mem1.c 86f33483a343873bab8ae1b648c2eac55462da74 @@ -791,11 +791,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f -P 6d910245ad0097521cf1619449cc3d202137b8b8 -R dedbbaae7790d6d9129d67a846293910 -T *bgcolor * pink -T *branch * compile_opts -T *sym-compile_opts * -T -sym-trunk * +P 84c9756993caf82710a0905ed1987d144bc764fd +R f5089208430b2ba4dd4063929e4e20e6 U shaneh -Z a5cfd4374a14e6e3e3c31ae8396a940a +Z 9884f73578eca45685b3905c76fc5c0d diff --git a/manifest.uuid b/manifest.uuid index 47e5608e9d..519435ec1f 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -84c9756993caf82710a0905ed1987d144bc764fd \ No newline at end of file +833da702ff9bd99d62640756d80e094256efff5c \ No newline at end of file diff --git a/src/main.c b/src/main.c index 78e11d2334..2bd43fbe17 100644 --- a/src/main.c +++ b/src/main.c @@ -36,397 +36,334 @@ const char *sqlite3_libversion(void){ return sqlite3_version; } const char *sqlite3_sourceid(void){ return SQLITE_SOURCE_ID; } int sqlite3_libversion_number(void){ return SQLITE_VERSION_NUMBER; } int sqlite3_threadsafe(void){ return SQLITE_THREADSAFE; } -const char *sqlite3_compileopts(void){ +const char *sqlite3_compileopts(void){ static char zOpts[32] = ""; sqlite_int64 iEnable = 0; /* bitmask of all the SQLITE_ENABLE* defines */ sqlite_int64 iOmit = 0; /* bitmask of all the SQLITE_OMIT* defines */ sqlite_int64 iOther = 0; /* bitmask of all the SQLITE_* defines except */ /* SQLITE_MAX* and SQLITE_DEF* */ -#ifdef SQLITE_32BIT_ROWID - iOther |= ((sqlite_int64)1<<0); -#endif -#ifdef SQLITE_4_BYTE_ALIGNED_MALLOC - iOther |= ((sqlite_int64)1<<1); -#endif -#ifdef SQLITE_AMALGAMATION - iOther |= ((sqlite_int64)1<<2); -#endif -#ifdef SQLITE_API - iOther |= ((sqlite_int64)1<<3); -#endif -#ifdef SQLITE_ASCII - iOther |= ((sqlite_int64)1<<4); -#endif -#ifdef SQLITE_BIG_DBL - iOther |= ((sqlite_int64)1<<5); -#endif -#ifdef SQLITE_CASE_SENSITIVE_LIKE - iOther |= ((sqlite_int64)1<<6); -#endif -#ifdef SQLITE_CHECK_PAGES - iOther |= ((sqlite_int64)1<<7); -#endif -#ifdef SQLITE_CORE - iOther |= ((sqlite_int64)1<<8); -#endif -#ifdef SQLITE_COVERAGE_TEST - iOther |= ((sqlite_int64)1<<9); -#endif -#ifdef SQLITE_DEBUG - iOther |= ((sqlite_int64)1<<10); -#endif -#ifdef SQLITE_DISABLE_DIRSYNC - iOther |= ((sqlite_int64)1<<11); -#endif -#ifdef SQLITE_DISABLE_LFS - iOther |= ((sqlite_int64)1<<12); -#endif -#ifdef SQLITE_EBCDIC - iOther |= ((sqlite_int64)1<<13); -#endif -#ifdef SQLITE_ENABLE_ATOMIC_WRITE - iEnable |= ((sqlite_int64)1<<0); -#endif -#ifdef SQLITE_ENABLE_CEROD - iEnable |= ((sqlite_int64)1<<1); -#endif -#ifdef SQLITE_ENABLE_COLUMN_METADATA - iEnable |= ((sqlite_int64)1<<2); -#endif -#ifdef SQLITE_ENABLE_EXPENSIVE_ASSERT - iEnable |= ((sqlite_int64)1<<3); -#endif -#ifdef SQLITE_ENABLE_FTS1 - iEnable |= ((sqlite_int64)1<<4); -#endif -#ifdef SQLITE_ENABLE_FTS2 - iEnable |= ((sqlite_int64)1<<5); -#endif -#ifdef SQLITE_ENABLE_FTS3 - iEnable |= ((sqlite_int64)1<<6); -#endif -#ifdef SQLITE_ENABLE_FTS4 - iEnable |= ((sqlite_int64)1<<7); -#endif -#ifdef SQLITE_ENABLE_ICU - iEnable |= ((sqlite_int64)1<<8); -#endif -#ifdef SQLITE_ENABLE_IOTRACE - iEnable |= ((sqlite_int64)1<<9); -#endif -#ifdef SQLITE_ENABLE_LOAD_EXTENSION - iEnable |= ((sqlite_int64)1<<10); -#endif -#ifdef SQLITE_ENABLE_LOCKING_STYLE - iEnable |= ((sqlite_int64)1<<11); -#endif -#ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT - iEnable |= ((sqlite_int64)1<<12); -#endif -#ifdef SQLITE_ENABLE_MEMSYS3 - iEnable |= ((sqlite_int64)1<<13); -#endif -#ifdef SQLITE_ENABLE_MEMSYS5 - iEnable |= ((sqlite_int64)1<<14); -#endif -#ifdef SQLITE_ENABLE_OVERSIZE_CELL_CHECK - iEnable |= ((sqlite_int64)1<<15); -#endif -#ifdef SQLITE_ENABLE_RTREE - iEnable |= ((sqlite_int64)1<<16); -#endif -#ifdef SQLITE_ENABLE_STAT2 - iEnable |= ((sqlite_int64)1<<17); -#endif -#ifdef SQLITE_ENABLE_UNLOCK_NOTIFY - iEnable |= ((sqlite_int64)1<<18); -#endif -#ifdef SQLITE_ENABLE_UPDATE_DELETE_LIMIT - iEnable |= ((sqlite_int64)1<<19); -#endif -#ifdef SQLITE_EXTERN - iOther |= ((sqlite_int64)1<<14); -#endif -#ifdef SQLITE_FILE_HEADER - iOther |= ((sqlite_int64)1<<15); -#endif -#ifdef SQLITE_HAS_CODEC - iOther |= ((sqlite_int64)1<<16); -#endif -#ifdef SQLITE_HAVE_ISNAN - iOther |= ((sqlite_int64)1<<17); -#endif -#ifdef SQLITE_HOMEGROWN_RECURSIVE_MUTEX - iOther |= ((sqlite_int64)1<<18); -#endif -#ifdef SQLITE_IGNORE_AFP_LOCK_ERRORS - iOther |= ((sqlite_int64)1<<19); -#endif -#ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS - iOther |= ((sqlite_int64)1<<20); -#endif -#ifdef SQLITE_INT64_TYPE - iOther |= ((sqlite_int64)1<<21); -#endif -#ifdef SQLITE_INTEGRITY_CHECK_ERROR_MAX - iOther |= ((sqlite_int64)1<<22); -#endif -#ifdef SQLITE_LOCK_TRACE - iOther |= ((sqlite_int64)1<<23); -#endif -#ifdef SQLITE_MALLOC_SOFT_LIMIT - iOther |= ((sqlite_int64)1<<24); -#endif -#ifdef SQLITE_MEMDEBUG - iOther |= ((sqlite_int64)1<<25); -#endif -#ifdef SQLITE_MIXED_ENDIAN_64BIT_FLOAT - iOther |= ((sqlite_int64)1<<26); -#endif -#ifdef SQLITE_MUTEX_NOOP - iOther |= ((sqlite_int64)1<<27); -#endif -#ifdef SQLITE_MUTEX_OMIT - iOther |= ((sqlite_int64)1<<28); -#endif -#ifdef SQLITE_MUTEX_OS2 - iOther |= ((sqlite_int64)1<<29); -#endif -#ifdef SQLITE_MUTEX_PTHREADS - iOther |= ((sqlite_int64)1<<30); -#endif -#ifdef SQLITE_MUTEX_W32 - iOther |= ((sqlite_int64)1<<31); -#endif -#ifdef SQLITE_NO_SYNC - iOther |= ((sqlite_int64)1<<32); -#endif -#ifdef SQLITE_N_COLCACHE - iOther |= ((sqlite_int64)1<<33); -#endif -#ifdef SQLITE_N_KEYWORD - iOther |= ((sqlite_int64)1<<34); -#endif -#ifdef SQLITE_OMIT_ALTERTABLE - iOmit |= ((sqlite_int64)1<<0); -#endif -#ifdef SQLITE_OMIT_ANALYZE - iOmit |= ((sqlite_int64)1<<1); -#endif -#ifdef SQLITE_OMIT_ATTACH - iOmit |= ((sqlite_int64)1<<2); -#endif -#ifdef SQLITE_OMIT_AUTHORIZATION - iOmit |= ((sqlite_int64)1<<3); -#endif -#ifdef SQLITE_OMIT_AUTOINCREMENT - iOmit |= ((sqlite_int64)1<<4); -#endif -#ifdef SQLITE_OMIT_AUTOINIT - iOmit |= ((sqlite_int64)1<<5); -#endif -#ifdef SQLITE_OMIT_AUTOVACUUM - iOmit |= ((sqlite_int64)1<<6); -#endif -#ifdef SQLITE_OMIT_BETWEEN_OPTIMIZATION - iOmit |= ((sqlite_int64)1<<7); -#endif -#ifdef SQLITE_OMIT_BLOB_LITERAL - iOmit |= ((sqlite_int64)1<<8); -#endif -#ifdef SQLITE_OMIT_BTREECOUNT - iOmit |= ((sqlite_int64)1<<9); -#endif -#ifdef SQLITE_OMIT_BUILTIN_TEST - iOmit |= ((sqlite_int64)1<<10); -#endif -#ifdef SQLITE_OMIT_CAST - iOmit |= ((sqlite_int64)1<<11); -#endif -#ifdef SQLITE_OMIT_CHECK - iOmit |= ((sqlite_int64)1<<12); -#endif -#ifdef SQLITE_OMIT_COMPLETE - iOmit |= ((sqlite_int64)1<<13); -#endif -#ifdef SQLITE_OMIT_COMPOUND_SELECT - iOmit |= ((sqlite_int64)1<<14); -#endif -#ifdef SQLITE_OMIT_DATETIME_FUNCS - iOmit |= ((sqlite_int64)1<<15); -#endif -#ifdef SQLITE_OMIT_DECLTYPE - iOmit |= ((sqlite_int64)1<<16); -#endif -#ifdef SQLITE_OMIT_DEPRECATED - iOmit |= ((sqlite_int64)1<<17); -#endif -#ifdef SQLITE_OMIT_DISKIO - iOmit |= ((sqlite_int64)1<<18); -#endif -#ifdef SQLITE_OMIT_EXPLAIN - iOmit |= ((sqlite_int64)1<<19); -#endif -#ifdef SQLITE_OMIT_FLAG_PRAGMAS - iOmit |= ((sqlite_int64)1<<20); -#endif -#ifdef SQLITE_OMIT_FLOATING_POINT - iOmit |= ((sqlite_int64)1<<21); -#endif -#ifdef SQLITE_OMIT_FOREIGN_KEY - iOmit |= ((sqlite_int64)1<<22); -#endif -#ifdef SQLITE_OMIT_GET_TABLE - iOmit |= ((sqlite_int64)1<<23); -#endif -#ifdef SQLITE_OMIT_GLOBALRECOVER - iOmit |= ((sqlite_int64)1<<24); -#endif -#ifdef SQLITE_OMIT_INCRBLOB - iOmit |= ((sqlite_int64)1<<25); -#endif -#ifdef SQLITE_OMIT_INTEGRITY_CHECK - iOmit |= ((sqlite_int64)1<<26); -#endif -#ifdef SQLITE_OMIT_LIKE_OPTIMIZATION - iOmit |= ((sqlite_int64)1<<27); -#endif -#ifdef SQLITE_OMIT_LOAD_EXTENSION - iOmit |= ((sqlite_int64)1<<28); -#endif -#ifdef SQLITE_OMIT_LOCALTIME - iOmit |= ((sqlite_int64)1<<29); -#endif -#ifdef SQLITE_OMIT_LOOKASIDE - iOmit |= ((sqlite_int64)1<<30); -#endif -#ifdef SQLITE_OMIT_MEMORYDB - iOmit |= ((sqlite_int64)1<<31); -#endif -#ifdef SQLITE_OMIT_OR_OPTIMIZATION - iOmit |= ((sqlite_int64)1<<32); -#endif -#ifdef SQLITE_OMIT_PAGER_PRAGMAS - iOmit |= ((sqlite_int64)1<<33); -#endif -#ifdef SQLITE_OMIT_PRAGMA - iOmit |= ((sqlite_int64)1<<34); -#endif -#ifdef SQLITE_OMIT_PROGRESS_CALLBACK - iOmit |= ((sqlite_int64)1<<35); -#endif -#ifdef SQLITE_OMIT_QUICKBALANCE - iOmit |= ((sqlite_int64)1<<36); -#endif -#ifdef SQLITE_OMIT_REINDEX - iOmit |= ((sqlite_int64)1<<37); -#endif -#ifdef SQLITE_OMIT_SCHEMA_PRAGMAS - iOmit |= ((sqlite_int64)1<<38); -#endif -#ifdef SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS - iOmit |= ((sqlite_int64)1<<39); -#endif -#ifdef SQLITE_OMIT_SHARED_CACHE - iOmit |= ((sqlite_int64)1<<40); -#endif -#ifdef SQLITE_OMIT_SUBQUERY - iOmit |= ((sqlite_int64)1<<41); -#endif -#ifdef SQLITE_OMIT_TCL_VARIABLE - iOmit |= ((sqlite_int64)1<<42); -#endif -#ifdef SQLITE_OMIT_TEMPDB - iOmit |= ((sqlite_int64)1<<43); -#endif -#ifdef SQLITE_OMIT_TRACE - iOmit |= ((sqlite_int64)1<<44); -#endif -#ifdef SQLITE_OMIT_TRIGGER - iOmit |= ((sqlite_int64)1<<45); -#endif -#ifdef SQLITE_OMIT_TRUNCATE_OPTIMIZATION - iOmit |= ((sqlite_int64)1<<46); -#endif -#ifdef SQLITE_OMIT_UTF16 - iOmit |= ((sqlite_int64)1<<47); -#endif -#ifdef SQLITE_OMIT_VACUUM - iOmit |= ((sqlite_int64)1<<48); -#endif -#ifdef SQLITE_OMIT_VIEW - iOmit |= ((sqlite_int64)1<<49); -#endif -#ifdef SQLITE_OMIT_VIRTUALTABLE - iOmit |= ((sqlite_int64)1<<50); -#endif -#ifdef SQLITE_OMIT_WSD - iOmit |= ((sqlite_int64)1<<51); -#endif -#ifdef SQLITE_OMIT_XFER_OPT - iOmit |= ((sqlite_int64)1<<52); -#endif -#ifdef SQLITE_OS_OTHER - iOther |= ((sqlite_int64)1<<35); -#endif -#ifdef SQLITE_OS_UNIX - iOther |= ((sqlite_int64)1<<36); -#endif -#ifdef SQLITE_PERFORMANCE_TRACE - iOther |= ((sqlite_int64)1<<37); -#endif -#ifdef SQLITE_PRINT_BUF_SIZE - iOther |= ((sqlite_int64)1<<38); -#endif -#ifdef SQLITE_PRIVATE - iOther |= ((sqlite_int64)1<<39); -#endif -#ifdef SQLITE_PROXY_DEBUG - iOther |= ((sqlite_int64)1<<40); -#endif -#ifdef SQLITE_SECURE_DELETE - iOther |= ((sqlite_int64)1<<41); -#endif -#ifdef SQLITE_SMALL_STACK - iOther |= ((sqlite_int64)1<<42); -#endif -#ifdef SQLITE_SOUNDEX - iOther |= ((sqlite_int64)1<<43); -#endif -#ifdef SQLITE_SYSTEM_MALLOC - iOther |= ((sqlite_int64)1<<44); -#endif -#ifdef SQLITE_TCL - iOther |= ((sqlite_int64)1<<45); -#endif -#ifdef SQLITE_TEMP_FILE_PREFIX - iOther |= ((sqlite_int64)1<<46); -#endif -#ifdef SQLITE_TEMP_STORE - iOther |= ((sqlite_int64)1<<47); -#endif -#ifdef SQLITE_TEST - iOther |= ((sqlite_int64)1<<48); -#endif -#ifdef SQLITE_TEXT - iOther |= ((sqlite_int64)1<<49); -#endif -#ifdef SQLITE_THREADSAFE - iOther |= ((sqlite_int64)1<<50); -#endif -#ifdef SQLITE_USE_ALLOCA - iOther |= ((sqlite_int64)1<<51); -#endif -#ifdef SQLITE_VERSION - iOther |= ((sqlite_int64)1<<52); -#endif -#ifdef SQLITE_VERSION_NUMBER - iOther |= ((sqlite_int64)1<<53); -#endif -#ifdef SQLITE_ZERO_MALLOC - iOther |= ((sqlite_int64)1<<54); -#endif +#ifdef SQLITE_32BIT_ROWID + iOther |= ((sqlite_int64)1<<0); +#endif +#ifdef SQLITE_4_BYTE_ALIGNED_MALLOC + iOther |= ((sqlite_int64)1<<1); +#endif +#ifdef SQLITE_API + iOther |= ((sqlite_int64)1<<2); +#endif +#ifdef SQLITE_CASE_SENSITIVE_LIKE + iOther |= ((sqlite_int64)1<<3); +#endif +#ifdef SQLITE_CHECK_PAGES + iOther |= ((sqlite_int64)1<<4); +#endif +#ifdef SQLITE_COVERAGE_TEST + iOther |= ((sqlite_int64)1<<5); +#endif +#ifdef SQLITE_DEBUG + iOther |= ((sqlite_int64)1<<6); +#endif +#ifdef SQLITE_DISABLE_DIRSYNC + iOther |= ((sqlite_int64)1<<7); +#endif +#ifdef SQLITE_DISABLE_LFS + iOther |= ((sqlite_int64)1<<8); +#endif +#ifdef SQLITE_ENABLE_ATOMIC_WRITE + iEnable |= ((sqlite_int64)1<<0); +#endif +#ifdef SQLITE_ENABLE_CEROD + iEnable |= ((sqlite_int64)1<<1); +#endif +#ifdef SQLITE_ENABLE_COLUMN_METADATA + iEnable |= ((sqlite_int64)1<<2); +#endif +#ifdef SQLITE_ENABLE_EXPENSIVE_ASSERT + iEnable |= ((sqlite_int64)1<<3); +#endif +#ifdef SQLITE_ENABLE_FTS1 + iEnable |= ((sqlite_int64)1<<4); +#endif +#ifdef SQLITE_ENABLE_FTS2 + iEnable |= ((sqlite_int64)1<<5); +#endif +#ifdef SQLITE_ENABLE_FTS3 + iEnable |= ((sqlite_int64)1<<6); +#endif +#ifdef SQLITE_ENABLE_FTS3_PARENTHESIS + iEnable |= ((sqlite_int64)1<<7); +#endif +#ifdef SQLITE_ENABLE_FTS4 + iEnable |= ((sqlite_int64)1<<8); +#endif +#ifdef SQLITE_ENABLE_ICU + iEnable |= ((sqlite_int64)1<<9); +#endif +#ifdef SQLITE_ENABLE_IOTRACE + iEnable |= ((sqlite_int64)1<<10); +#endif +#ifdef SQLITE_ENABLE_LOAD_EXTENSION + iEnable |= ((sqlite_int64)1<<11); +#endif +#ifdef SQLITE_ENABLE_LOCKING_STYLE + iEnable |= ((sqlite_int64)1<<12); +#endif +#ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT + iEnable |= ((sqlite_int64)1<<13); +#endif +#ifdef SQLITE_ENABLE_MEMSYS3 + iEnable |= ((sqlite_int64)1<<14); +#endif +#ifdef SQLITE_ENABLE_MEMSYS5 + iEnable |= ((sqlite_int64)1<<15); +#endif +#ifdef SQLITE_ENABLE_OVERSIZE_CELL_CHECK + iEnable |= ((sqlite_int64)1<<16); +#endif +#ifdef SQLITE_ENABLE_RTREE + iEnable |= ((sqlite_int64)1<<17); +#endif +#ifdef SQLITE_ENABLE_STAT2 + iEnable |= ((sqlite_int64)1<<18); +#endif +#ifdef SQLITE_ENABLE_UNLOCK_NOTIFY + iEnable |= ((sqlite_int64)1<<19); +#endif +#ifdef SQLITE_ENABLE_UPDATE_DELETE_LIMIT + iEnable |= ((sqlite_int64)1<<20); +#endif +#ifdef SQLITE_HAS_CODEC + iOther |= ((sqlite_int64)1<<9); +#endif +#ifdef SQLITE_HAVE_ISNAN + iOther |= ((sqlite_int64)1<<10); +#endif +#ifdef SQLITE_HOMEGROWN_RECURSIVE_MUTEX + iOther |= ((sqlite_int64)1<<11); +#endif +#ifdef SQLITE_IGNORE_AFP_LOCK_ERRORS + iOther |= ((sqlite_int64)1<<12); +#endif +#ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS + iOther |= ((sqlite_int64)1<<13); +#endif +#ifdef SQLITE_INT64_TYPE + iOther |= ((sqlite_int64)1<<14); +#endif +#ifdef SQLITE_LOCK_TRACE + iOther |= ((sqlite_int64)1<<15); +#endif +#ifdef SQLITE_MEMDEBUG + iOther |= ((sqlite_int64)1<<16); +#endif +#ifdef SQLITE_MIXED_ENDIAN_64BIT_FLOAT + iOther |= ((sqlite_int64)1<<17); +#endif +#ifdef SQLITE_MUTEX_NOOP + iOther |= ((sqlite_int64)1<<18); +#endif +#ifdef SQLITE_MUTEX_OMIT + iOther |= ((sqlite_int64)1<<19); +#endif +#ifdef SQLITE_MUTEX_OS2 + iOther |= ((sqlite_int64)1<<20); +#endif +#ifdef SQLITE_MUTEX_PTHREADS + iOther |= ((sqlite_int64)1<<21); +#endif +#ifdef SQLITE_MUTEX_W32 + iOther |= ((sqlite_int64)1<<22); +#endif +#ifdef SQLITE_NO_SYNC + iOther |= ((sqlite_int64)1<<23); +#endif +#ifdef SQLITE_OMIT_ALTERTABLE + iOmit |= ((sqlite_int64)1<<0); +#endif +#ifdef SQLITE_OMIT_ANALYZE + iOmit |= ((sqlite_int64)1<<1); +#endif +#ifdef SQLITE_OMIT_ATTACH + iOmit |= ((sqlite_int64)1<<2); +#endif +#ifdef SQLITE_OMIT_AUTHORIZATION + iOmit |= ((sqlite_int64)1<<3); +#endif +#ifdef SQLITE_OMIT_AUTOINCREMENT + iOmit |= ((sqlite_int64)1<<4); +#endif +#ifdef SQLITE_OMIT_AUTOINIT + iOmit |= ((sqlite_int64)1<<5); +#endif +#ifdef SQLITE_OMIT_AUTOVACUUM + iOmit |= ((sqlite_int64)1<<6); +#endif +#ifdef SQLITE_OMIT_BETWEEN_OPTIMIZATION + iOmit |= ((sqlite_int64)1<<7); +#endif +#ifdef SQLITE_OMIT_BLOB_LITERAL + iOmit |= ((sqlite_int64)1<<8); +#endif +#ifdef SQLITE_OMIT_BTREECOUNT + iOmit |= ((sqlite_int64)1<<9); +#endif +#ifdef SQLITE_OMIT_BUILTIN_TEST + iOmit |= ((sqlite_int64)1<<10); +#endif +#ifdef SQLITE_OMIT_CAST + iOmit |= ((sqlite_int64)1<<11); +#endif +#ifdef SQLITE_OMIT_CHECK + iOmit |= ((sqlite_int64)1<<12); +#endif +#ifdef SQLITE_OMIT_COMPLETE + iOmit |= ((sqlite_int64)1<<13); +#endif +#ifdef SQLITE_OMIT_COMPOUND_SELECT + iOmit |= ((sqlite_int64)1<<14); +#endif +#ifdef SQLITE_OMIT_DATETIME_FUNCS + iOmit |= ((sqlite_int64)1<<15); +#endif +#ifdef SQLITE_OMIT_DECLTYPE + iOmit |= ((sqlite_int64)1<<16); +#endif +#ifdef SQLITE_OMIT_DEPRECATED + iOmit |= ((sqlite_int64)1<<17); +#endif +#ifdef SQLITE_OMIT_DISKIO + iOmit |= ((sqlite_int64)1<<18); +#endif +#ifdef SQLITE_OMIT_EXPLAIN + iOmit |= ((sqlite_int64)1<<19); +#endif +#ifdef SQLITE_OMIT_FLAG_PRAGMAS + iOmit |= ((sqlite_int64)1<<20); +#endif +#ifdef SQLITE_OMIT_FLOATING_POINT + iOmit |= ((sqlite_int64)1<<21); +#endif +#ifdef SQLITE_OMIT_FOREIGN_KEY + iOmit |= ((sqlite_int64)1<<22); +#endif +#ifdef SQLITE_OMIT_GET_TABLE + iOmit |= ((sqlite_int64)1<<23); +#endif +#ifdef SQLITE_OMIT_GLOBALRECOVER + iOmit |= ((sqlite_int64)1<<24); +#endif +#ifdef SQLITE_OMIT_INCRBLOB + iOmit |= ((sqlite_int64)1<<25); +#endif +#ifdef SQLITE_OMIT_INTEGRITY_CHECK + iOmit |= ((sqlite_int64)1<<26); +#endif +#ifdef SQLITE_OMIT_LIKE_OPTIMIZATION + iOmit |= ((sqlite_int64)1<<27); +#endif +#ifdef SQLITE_OMIT_LOAD_EXTENSION + iOmit |= ((sqlite_int64)1<<28); +#endif +#ifdef SQLITE_OMIT_LOCALTIME + iOmit |= ((sqlite_int64)1<<29); +#endif +#ifdef SQLITE_OMIT_LOOKASIDE + iOmit |= ((sqlite_int64)1<<30); +#endif +#ifdef SQLITE_OMIT_MEMORYDB + iOmit |= ((sqlite_int64)1<<31); +#endif +#ifdef SQLITE_OMIT_OR_OPTIMIZATION + iOmit |= ((sqlite_int64)1<<32); +#endif +#ifdef SQLITE_OMIT_PAGER_PRAGMAS + iOmit |= ((sqlite_int64)1<<33); +#endif +#ifdef SQLITE_OMIT_PRAGMA + iOmit |= ((sqlite_int64)1<<34); +#endif +#ifdef SQLITE_OMIT_PROGRESS_CALLBACK + iOmit |= ((sqlite_int64)1<<35); +#endif +#ifdef SQLITE_OMIT_QUICKBALANCE + iOmit |= ((sqlite_int64)1<<36); +#endif +#ifdef SQLITE_OMIT_REINDEX + iOmit |= ((sqlite_int64)1<<37); +#endif +#ifdef SQLITE_OMIT_SCHEMA_PRAGMAS + iOmit |= ((sqlite_int64)1<<38); +#endif +#ifdef SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS + iOmit |= ((sqlite_int64)1<<39); +#endif +#ifdef SQLITE_OMIT_SHARED_CACHE + iOmit |= ((sqlite_int64)1<<40); +#endif +#ifdef SQLITE_OMIT_SUBQUERY + iOmit |= ((sqlite_int64)1<<41); +#endif +#ifdef SQLITE_OMIT_TCL_VARIABLE + iOmit |= ((sqlite_int64)1<<42); +#endif +#ifdef SQLITE_OMIT_TEMPDB + iOmit |= ((sqlite_int64)1<<43); +#endif +#ifdef SQLITE_OMIT_TRACE + iOmit |= ((sqlite_int64)1<<44); +#endif +#ifdef SQLITE_OMIT_TRIGGER + iOmit |= ((sqlite_int64)1<<45); +#endif +#ifdef SQLITE_OMIT_TRUNCATE_OPTIMIZATION + iOmit |= ((sqlite_int64)1<<46); +#endif +#ifdef SQLITE_OMIT_UTF16 + iOmit |= ((sqlite_int64)1<<47); +#endif +#ifdef SQLITE_OMIT_VACUUM + iOmit |= ((sqlite_int64)1<<48); +#endif +#ifdef SQLITE_OMIT_VIEW + iOmit |= ((sqlite_int64)1<<49); +#endif +#ifdef SQLITE_OMIT_VIRTUALTABLE + iOmit |= ((sqlite_int64)1<<50); +#endif +#ifdef SQLITE_OMIT_WSD + iOmit |= ((sqlite_int64)1<<51); +#endif +#ifdef SQLITE_OMIT_XFER_OPT + iOmit |= ((sqlite_int64)1<<52); +#endif +#ifdef SQLITE_PERFORMANCE_TRACE + iOther |= ((sqlite_int64)1<<24); +#endif +#ifdef SQLITE_PROXY_DEBUG + iOther |= ((sqlite_int64)1<<25); +#endif +#ifdef SQLITE_SECURE_DELETE + iOther |= ((sqlite_int64)1<<26); +#endif +#ifdef SQLITE_SMALL_STACK + iOther |= ((sqlite_int64)1<<27); +#endif +#ifdef SQLITE_SOUNDEX + iOther |= ((sqlite_int64)1<<28); +#endif +#ifdef SQLITE_TCL + iOther |= ((sqlite_int64)1<<29); +#endif +#ifdef SQLITE_TEST + iOther |= ((sqlite_int64)1<<30); +#endif +#ifdef SQLITE_USE_ALLOCA + iOther |= ((sqlite_int64)1<<31); +#endif +#ifdef SQLITE_ZERO_MALLOC + iOther |= ((sqlite_int64)1<<32); +#endif sqlite3_snprintf(sizeof(zOpts)-1, zOpts, "%016llx%016llx%016llx", iEnable, iOmit, iOther);