000001 /* DO NOT EDIT! 000002 ** This file is automatically generated by the script in the canonical 000003 ** SQLite source tree at tool/mkctimec.tcl. 000004 ** 000005 ** To modify this header, edit any of the various lists in that script 000006 ** which specify categories of generated conditionals in this file. 000007 */ 000008 000009 /* 000010 ** 2010 February 23 000011 ** 000012 ** The author disclaims copyright to this source code. In place of 000013 ** a legal notice, here is a blessing: 000014 ** 000015 ** May you do good and not evil. 000016 ** May you find forgiveness for yourself and forgive others. 000017 ** May you share freely, never taking more than you give. 000018 ** 000019 ************************************************************************* 000020 ** 000021 ** This file implements routines used to report what compile-time options 000022 ** SQLite was built with. 000023 */ 000024 #ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS /* IMP: R-16824-07538 */ 000025 000026 /* 000027 ** Include the configuration header output by 'configure' if we're using the 000028 ** autoconf-based build 000029 */ 000030 #if defined(_HAVE_SQLITE_CONFIG_H) && !defined(SQLITECONFIG_H) 000031 #include "sqlite_cfg.h" 000032 #define SQLITECONFIG_H 1 000033 #endif 000034 000035 /* These macros are provided to "stringify" the value of the define 000036 ** for those options in which the value is meaningful. */ 000037 #define CTIMEOPT_VAL_(opt) #opt 000038 #define CTIMEOPT_VAL(opt) CTIMEOPT_VAL_(opt) 000039 000040 /* Like CTIMEOPT_VAL, but especially for SQLITE_DEFAULT_LOOKASIDE. This 000041 ** option requires a separate macro because legal values contain a single 000042 ** comma. e.g. (-DSQLITE_DEFAULT_LOOKASIDE="100,100") */ 000043 #define CTIMEOPT_VAL2_(opt1,opt2) #opt1 "," #opt2 000044 #define CTIMEOPT_VAL2(opt) CTIMEOPT_VAL2_(opt) 000045 #include "sqliteInt.h" 000046 000047 /* 000048 ** An array of names of all compile-time options. This array should 000049 ** be sorted A-Z. 000050 ** 000051 ** This array looks large, but in a typical installation actually uses 000052 ** only a handful of compile-time options, so most times this array is usually 000053 ** rather short and uses little memory space. 000054 */ 000055 static const char * const sqlite3azCompileOpt[] = { 000056 000057 #ifdef SQLITE_32BIT_ROWID 000058 "32BIT_ROWID", 000059 #endif 000060 #ifdef SQLITE_4_BYTE_ALIGNED_MALLOC 000061 "4_BYTE_ALIGNED_MALLOC", 000062 #endif 000063 #ifdef SQLITE_ALLOW_COVERING_INDEX_SCAN 000064 # if SQLITE_ALLOW_COVERING_INDEX_SCAN != 1 000065 "ALLOW_COVERING_INDEX_SCAN=" CTIMEOPT_VAL(SQLITE_ALLOW_COVERING_INDEX_SCAN), 000066 # endif 000067 #endif 000068 #ifdef SQLITE_ALLOW_ROWID_IN_VIEW 000069 "ALLOW_ROWID_IN_VIEW", 000070 #endif 000071 #ifdef SQLITE_ALLOW_URI_AUTHORITY 000072 "ALLOW_URI_AUTHORITY", 000073 #endif 000074 #ifdef SQLITE_ATOMIC_INTRINSICS 000075 "ATOMIC_INTRINSICS=" CTIMEOPT_VAL(SQLITE_ATOMIC_INTRINSICS), 000076 #endif 000077 #ifdef SQLITE_BITMASK_TYPE 000078 "BITMASK_TYPE=" CTIMEOPT_VAL(SQLITE_BITMASK_TYPE), 000079 #endif 000080 #ifdef SQLITE_BUG_COMPATIBLE_20160819 000081 "BUG_COMPATIBLE_20160819", 000082 #endif 000083 #ifdef SQLITE_CASE_SENSITIVE_LIKE 000084 "CASE_SENSITIVE_LIKE", 000085 #endif 000086 #ifdef SQLITE_CHECK_PAGES 000087 "CHECK_PAGES", 000088 #endif 000089 #if defined(__clang__) && defined(__clang_major__) 000090 "COMPILER=clang-" CTIMEOPT_VAL(__clang_major__) "." 000091 CTIMEOPT_VAL(__clang_minor__) "." 000092 CTIMEOPT_VAL(__clang_patchlevel__), 000093 #elif defined(_MSC_VER) 000094 "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER), 000095 #elif defined(__GNUC__) && defined(__VERSION__) 000096 "COMPILER=gcc-" __VERSION__, 000097 #endif 000098 #ifdef SQLITE_COVERAGE_TEST 000099 "COVERAGE_TEST", 000100 #endif 000101 #ifdef SQLITE_DEBUG 000102 "DEBUG", 000103 #endif 000104 #ifdef SQLITE_DEFAULT_AUTOMATIC_INDEX 000105 "DEFAULT_AUTOMATIC_INDEX", 000106 #endif 000107 #ifdef SQLITE_DEFAULT_AUTOVACUUM 000108 "DEFAULT_AUTOVACUUM", 000109 #endif 000110 #ifdef SQLITE_DEFAULT_CACHE_SIZE 000111 "DEFAULT_CACHE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_CACHE_SIZE), 000112 #endif 000113 #ifdef SQLITE_DEFAULT_CKPTFULLFSYNC 000114 "DEFAULT_CKPTFULLFSYNC", 000115 #endif 000116 #ifdef SQLITE_DEFAULT_FILE_FORMAT 000117 "DEFAULT_FILE_FORMAT=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_FORMAT), 000118 #endif 000119 #ifdef SQLITE_DEFAULT_FILE_PERMISSIONS 000120 "DEFAULT_FILE_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_PERMISSIONS), 000121 #endif 000122 #ifdef SQLITE_DEFAULT_FOREIGN_KEYS 000123 "DEFAULT_FOREIGN_KEYS", 000124 #endif 000125 #ifdef SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT 000126 "DEFAULT_JOURNAL_SIZE_LIMIT=" CTIMEOPT_VAL(SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT), 000127 #endif 000128 #ifdef SQLITE_DEFAULT_LOCKING_MODE 000129 "DEFAULT_LOCKING_MODE=" CTIMEOPT_VAL(SQLITE_DEFAULT_LOCKING_MODE), 000130 #endif 000131 #ifdef SQLITE_DEFAULT_LOOKASIDE 000132 "DEFAULT_LOOKASIDE=" CTIMEOPT_VAL2(SQLITE_DEFAULT_LOOKASIDE), 000133 #endif 000134 #ifdef SQLITE_DEFAULT_MEMSTATUS 000135 # if SQLITE_DEFAULT_MEMSTATUS != 1 000136 "DEFAULT_MEMSTATUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_MEMSTATUS), 000137 # endif 000138 #endif 000139 #ifdef SQLITE_DEFAULT_MMAP_SIZE 000140 "DEFAULT_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_MMAP_SIZE), 000141 #endif 000142 #ifdef SQLITE_DEFAULT_PAGE_SIZE 000143 "DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_PAGE_SIZE), 000144 #endif 000145 #ifdef SQLITE_DEFAULT_PCACHE_INITSZ 000146 "DEFAULT_PCACHE_INITSZ=" CTIMEOPT_VAL(SQLITE_DEFAULT_PCACHE_INITSZ), 000147 #endif 000148 #ifdef SQLITE_DEFAULT_PROXYDIR_PERMISSIONS 000149 "DEFAULT_PROXYDIR_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_PROXYDIR_PERMISSIONS), 000150 #endif 000151 #ifdef SQLITE_DEFAULT_RECURSIVE_TRIGGERS 000152 "DEFAULT_RECURSIVE_TRIGGERS", 000153 #endif 000154 #ifdef SQLITE_DEFAULT_ROWEST 000155 "DEFAULT_ROWEST=" CTIMEOPT_VAL(SQLITE_DEFAULT_ROWEST), 000156 #endif 000157 #ifdef SQLITE_DEFAULT_SECTOR_SIZE 000158 "DEFAULT_SECTOR_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_SECTOR_SIZE), 000159 #endif 000160 #ifdef SQLITE_DEFAULT_SYNCHRONOUS 000161 "DEFAULT_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_SYNCHRONOUS), 000162 #endif 000163 #ifdef SQLITE_DEFAULT_WAL_AUTOCHECKPOINT 000164 "DEFAULT_WAL_AUTOCHECKPOINT=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_AUTOCHECKPOINT), 000165 #endif 000166 #ifdef SQLITE_DEFAULT_WAL_SYNCHRONOUS 000167 "DEFAULT_WAL_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_SYNCHRONOUS), 000168 #endif 000169 #ifdef SQLITE_DEFAULT_WORKER_THREADS 000170 "DEFAULT_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WORKER_THREADS), 000171 #endif 000172 #ifdef SQLITE_DIRECT_OVERFLOW_READ 000173 "DIRECT_OVERFLOW_READ", 000174 #endif 000175 #ifdef SQLITE_DISABLE_DIRSYNC 000176 "DISABLE_DIRSYNC", 000177 #endif 000178 #ifdef SQLITE_DISABLE_FTS3_UNICODE 000179 "DISABLE_FTS3_UNICODE", 000180 #endif 000181 #ifdef SQLITE_DISABLE_FTS4_DEFERRED 000182 "DISABLE_FTS4_DEFERRED", 000183 #endif 000184 #ifdef SQLITE_DISABLE_INTRINSIC 000185 "DISABLE_INTRINSIC", 000186 #endif 000187 #ifdef SQLITE_DISABLE_LFS 000188 "DISABLE_LFS", 000189 #endif 000190 #ifdef SQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS 000191 "DISABLE_PAGECACHE_OVERFLOW_STATS", 000192 #endif 000193 #ifdef SQLITE_DISABLE_SKIPAHEAD_DISTINCT 000194 "DISABLE_SKIPAHEAD_DISTINCT", 000195 #endif 000196 #ifdef SQLITE_DQS 000197 "DQS=" CTIMEOPT_VAL(SQLITE_DQS), 000198 #endif 000199 #ifdef SQLITE_ENABLE_8_3_NAMES 000200 "ENABLE_8_3_NAMES=" CTIMEOPT_VAL(SQLITE_ENABLE_8_3_NAMES), 000201 #endif 000202 #ifdef SQLITE_ENABLE_API_ARMOR 000203 "ENABLE_API_ARMOR", 000204 #endif 000205 #ifdef SQLITE_ENABLE_ATOMIC_WRITE 000206 "ENABLE_ATOMIC_WRITE", 000207 #endif 000208 #ifdef SQLITE_ENABLE_BATCH_ATOMIC_WRITE 000209 "ENABLE_BATCH_ATOMIC_WRITE", 000210 #endif 000211 #ifdef SQLITE_ENABLE_BYTECODE_VTAB 000212 "ENABLE_BYTECODE_VTAB", 000213 #endif 000214 #ifdef SQLITE_ENABLE_CEROD 000215 "ENABLE_CEROD=" CTIMEOPT_VAL(SQLITE_ENABLE_CEROD), 000216 #endif 000217 #ifdef SQLITE_ENABLE_COLUMN_METADATA 000218 "ENABLE_COLUMN_METADATA", 000219 #endif 000220 #ifdef SQLITE_ENABLE_COLUMN_USED_MASK 000221 "ENABLE_COLUMN_USED_MASK", 000222 #endif 000223 #ifdef SQLITE_ENABLE_COSTMULT 000224 "ENABLE_COSTMULT", 000225 #endif 000226 #ifdef SQLITE_ENABLE_CURSOR_HINTS 000227 "ENABLE_CURSOR_HINTS", 000228 #endif 000229 #ifdef SQLITE_ENABLE_DBPAGE_VTAB 000230 "ENABLE_DBPAGE_VTAB", 000231 #endif 000232 #ifdef SQLITE_ENABLE_DBSTAT_VTAB 000233 "ENABLE_DBSTAT_VTAB", 000234 #endif 000235 #ifdef SQLITE_ENABLE_EXPENSIVE_ASSERT 000236 "ENABLE_EXPENSIVE_ASSERT", 000237 #endif 000238 #ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS 000239 "ENABLE_EXPLAIN_COMMENTS", 000240 #endif 000241 #ifdef SQLITE_ENABLE_FTS3 000242 "ENABLE_FTS3", 000243 #endif 000244 #ifdef SQLITE_ENABLE_FTS3_PARENTHESIS 000245 "ENABLE_FTS3_PARENTHESIS", 000246 #endif 000247 #ifdef SQLITE_ENABLE_FTS3_TOKENIZER 000248 "ENABLE_FTS3_TOKENIZER", 000249 #endif 000250 #ifdef SQLITE_ENABLE_FTS4 000251 "ENABLE_FTS4", 000252 #endif 000253 #ifdef SQLITE_ENABLE_FTS5 000254 "ENABLE_FTS5", 000255 #endif 000256 #ifdef SQLITE_ENABLE_GEOPOLY 000257 "ENABLE_GEOPOLY", 000258 #endif 000259 #ifdef SQLITE_ENABLE_HIDDEN_COLUMNS 000260 "ENABLE_HIDDEN_COLUMNS", 000261 #endif 000262 #ifdef SQLITE_ENABLE_ICU 000263 "ENABLE_ICU", 000264 #endif 000265 #ifdef SQLITE_ENABLE_IOTRACE 000266 "ENABLE_IOTRACE", 000267 #endif 000268 #ifdef SQLITE_ENABLE_LOAD_EXTENSION 000269 "ENABLE_LOAD_EXTENSION", 000270 #endif 000271 #ifdef SQLITE_ENABLE_LOCKING_STYLE 000272 "ENABLE_LOCKING_STYLE=" CTIMEOPT_VAL(SQLITE_ENABLE_LOCKING_STYLE), 000273 #endif 000274 #ifdef SQLITE_ENABLE_MATH_FUNCTIONS 000275 "ENABLE_MATH_FUNCTIONS", 000276 #endif 000277 #ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT 000278 "ENABLE_MEMORY_MANAGEMENT", 000279 #endif 000280 #ifdef SQLITE_ENABLE_MEMSYS3 000281 "ENABLE_MEMSYS3", 000282 #endif 000283 #ifdef SQLITE_ENABLE_MEMSYS5 000284 "ENABLE_MEMSYS5", 000285 #endif 000286 #ifdef SQLITE_ENABLE_MULTIPLEX 000287 "ENABLE_MULTIPLEX", 000288 #endif 000289 #ifdef SQLITE_ENABLE_NORMALIZE 000290 "ENABLE_NORMALIZE", 000291 #endif 000292 #ifdef SQLITE_ENABLE_NULL_TRIM 000293 "ENABLE_NULL_TRIM", 000294 #endif 000295 #ifdef SQLITE_ENABLE_OFFSET_SQL_FUNC 000296 "ENABLE_OFFSET_SQL_FUNC", 000297 #endif 000298 #ifdef SQLITE_ENABLE_OVERSIZE_CELL_CHECK 000299 "ENABLE_OVERSIZE_CELL_CHECK", 000300 #endif 000301 #ifdef SQLITE_ENABLE_PREUPDATE_HOOK 000302 "ENABLE_PREUPDATE_HOOK", 000303 #endif 000304 #ifdef SQLITE_ENABLE_QPSG 000305 "ENABLE_QPSG", 000306 #endif 000307 #ifdef SQLITE_ENABLE_RBU 000308 "ENABLE_RBU", 000309 #endif 000310 #ifdef SQLITE_ENABLE_RTREE 000311 "ENABLE_RTREE", 000312 #endif 000313 #ifdef SQLITE_ENABLE_SESSION 000314 "ENABLE_SESSION", 000315 #endif 000316 #ifdef SQLITE_ENABLE_SNAPSHOT 000317 "ENABLE_SNAPSHOT", 000318 #endif 000319 #ifdef SQLITE_ENABLE_SORTER_REFERENCES 000320 "ENABLE_SORTER_REFERENCES", 000321 #endif 000322 #ifdef SQLITE_ENABLE_SQLLOG 000323 "ENABLE_SQLLOG", 000324 #endif 000325 #ifdef SQLITE_ENABLE_STAT4 000326 "ENABLE_STAT4", 000327 #endif 000328 #ifdef SQLITE_ENABLE_STMTVTAB 000329 "ENABLE_STMTVTAB", 000330 #endif 000331 #ifdef SQLITE_ENABLE_STMT_SCANSTATUS 000332 "ENABLE_STMT_SCANSTATUS", 000333 #endif 000334 #ifdef SQLITE_ENABLE_TREETRACE 000335 "ENABLE_TREETRACE", 000336 #endif 000337 #ifdef SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION 000338 "ENABLE_UNKNOWN_SQL_FUNCTION", 000339 #endif 000340 #ifdef SQLITE_ENABLE_UNLOCK_NOTIFY 000341 "ENABLE_UNLOCK_NOTIFY", 000342 #endif 000343 #ifdef SQLITE_ENABLE_UPDATE_DELETE_LIMIT 000344 "ENABLE_UPDATE_DELETE_LIMIT", 000345 #endif 000346 #ifdef SQLITE_ENABLE_URI_00_ERROR 000347 "ENABLE_URI_00_ERROR", 000348 #endif 000349 #ifdef SQLITE_ENABLE_VFSTRACE 000350 "ENABLE_VFSTRACE", 000351 #endif 000352 #ifdef SQLITE_ENABLE_WHERETRACE 000353 "ENABLE_WHERETRACE", 000354 #endif 000355 #ifdef SQLITE_ENABLE_ZIPVFS 000356 "ENABLE_ZIPVFS", 000357 #endif 000358 #ifdef SQLITE_EXPLAIN_ESTIMATED_ROWS 000359 "EXPLAIN_ESTIMATED_ROWS", 000360 #endif 000361 #ifdef SQLITE_EXTRA_AUTOEXT 000362 "EXTRA_AUTOEXT=" CTIMEOPT_VAL(SQLITE_EXTRA_AUTOEXT), 000363 #endif 000364 #ifdef SQLITE_EXTRA_IFNULLROW 000365 "EXTRA_IFNULLROW", 000366 #endif 000367 #ifdef SQLITE_EXTRA_INIT 000368 "EXTRA_INIT=" CTIMEOPT_VAL(SQLITE_EXTRA_INIT), 000369 #endif 000370 #ifdef SQLITE_EXTRA_SHUTDOWN 000371 "EXTRA_SHUTDOWN=" CTIMEOPT_VAL(SQLITE_EXTRA_SHUTDOWN), 000372 #endif 000373 #ifdef SQLITE_FTS3_MAX_EXPR_DEPTH 000374 "FTS3_MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_FTS3_MAX_EXPR_DEPTH), 000375 #endif 000376 #ifdef SQLITE_FTS5_ENABLE_TEST_MI 000377 "FTS5_ENABLE_TEST_MI", 000378 #endif 000379 #ifdef SQLITE_FTS5_NO_WITHOUT_ROWID 000380 "FTS5_NO_WITHOUT_ROWID", 000381 #endif 000382 #if HAVE_ISNAN || SQLITE_HAVE_ISNAN 000383 "HAVE_ISNAN", 000384 #endif 000385 #ifdef SQLITE_HOMEGROWN_RECURSIVE_MUTEX 000386 # if SQLITE_HOMEGROWN_RECURSIVE_MUTEX != 1 000387 "HOMEGROWN_RECURSIVE_MUTEX=" CTIMEOPT_VAL(SQLITE_HOMEGROWN_RECURSIVE_MUTEX), 000388 # endif 000389 #endif 000390 #ifdef SQLITE_IGNORE_AFP_LOCK_ERRORS 000391 "IGNORE_AFP_LOCK_ERRORS", 000392 #endif 000393 #ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS 000394 "IGNORE_FLOCK_LOCK_ERRORS", 000395 #endif 000396 #ifdef SQLITE_INLINE_MEMCPY 000397 "INLINE_MEMCPY", 000398 #endif 000399 #ifdef SQLITE_INT64_TYPE 000400 "INT64_TYPE", 000401 #endif 000402 #ifdef SQLITE_INTEGRITY_CHECK_ERROR_MAX 000403 "INTEGRITY_CHECK_ERROR_MAX=" CTIMEOPT_VAL(SQLITE_INTEGRITY_CHECK_ERROR_MAX), 000404 #endif 000405 #ifdef SQLITE_LEGACY_JSON_VALID 000406 "LEGACY_JSON_VALID", 000407 #endif 000408 #ifdef SQLITE_LIKE_DOESNT_MATCH_BLOBS 000409 "LIKE_DOESNT_MATCH_BLOBS", 000410 #endif 000411 #ifdef SQLITE_LOCK_TRACE 000412 "LOCK_TRACE", 000413 #endif 000414 #ifdef SQLITE_LOG_CACHE_SPILL 000415 "LOG_CACHE_SPILL", 000416 #endif 000417 #ifdef SQLITE_MALLOC_SOFT_LIMIT 000418 "MALLOC_SOFT_LIMIT=" CTIMEOPT_VAL(SQLITE_MALLOC_SOFT_LIMIT), 000419 #endif 000420 #ifdef SQLITE_MAX_ATTACHED 000421 "MAX_ATTACHED=" CTIMEOPT_VAL(SQLITE_MAX_ATTACHED), 000422 #endif 000423 #ifdef SQLITE_MAX_COLUMN 000424 "MAX_COLUMN=" CTIMEOPT_VAL(SQLITE_MAX_COLUMN), 000425 #endif 000426 #ifdef SQLITE_MAX_COMPOUND_SELECT 000427 "MAX_COMPOUND_SELECT=" CTIMEOPT_VAL(SQLITE_MAX_COMPOUND_SELECT), 000428 #endif 000429 #ifdef SQLITE_MAX_DEFAULT_PAGE_SIZE 000430 "MAX_DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_DEFAULT_PAGE_SIZE), 000431 #endif 000432 #ifdef SQLITE_MAX_EXPR_DEPTH 000433 "MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_EXPR_DEPTH), 000434 #endif 000435 #ifdef SQLITE_MAX_FUNCTION_ARG 000436 "MAX_FUNCTION_ARG=" CTIMEOPT_VAL(SQLITE_MAX_FUNCTION_ARG), 000437 #endif 000438 #ifdef SQLITE_MAX_LENGTH 000439 "MAX_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LENGTH), 000440 #endif 000441 #ifdef SQLITE_MAX_LIKE_PATTERN_LENGTH 000442 "MAX_LIKE_PATTERN_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LIKE_PATTERN_LENGTH), 000443 #endif 000444 #ifdef SQLITE_MAX_MEMORY 000445 "MAX_MEMORY=" CTIMEOPT_VAL(SQLITE_MAX_MEMORY), 000446 #endif 000447 #ifdef SQLITE_MAX_MMAP_SIZE 000448 "MAX_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE), 000449 #endif 000450 #ifdef SQLITE_MAX_MMAP_SIZE_ 000451 "MAX_MMAP_SIZE_=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE_), 000452 #endif 000453 #ifdef SQLITE_MAX_PAGE_COUNT 000454 "MAX_PAGE_COUNT=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_COUNT), 000455 #endif 000456 #ifdef SQLITE_MAX_PAGE_SIZE 000457 "MAX_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_SIZE), 000458 #endif 000459 #ifdef SQLITE_MAX_SCHEMA_RETRY 000460 "MAX_SCHEMA_RETRY=" CTIMEOPT_VAL(SQLITE_MAX_SCHEMA_RETRY), 000461 #endif 000462 #ifdef SQLITE_MAX_SQL_LENGTH 000463 "MAX_SQL_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_SQL_LENGTH), 000464 #endif 000465 #ifdef SQLITE_MAX_TRIGGER_DEPTH 000466 "MAX_TRIGGER_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_TRIGGER_DEPTH), 000467 #endif 000468 #ifdef SQLITE_MAX_VARIABLE_NUMBER 000469 "MAX_VARIABLE_NUMBER=" CTIMEOPT_VAL(SQLITE_MAX_VARIABLE_NUMBER), 000470 #endif 000471 #ifdef SQLITE_MAX_VDBE_OP 000472 "MAX_VDBE_OP=" CTIMEOPT_VAL(SQLITE_MAX_VDBE_OP), 000473 #endif 000474 #ifdef SQLITE_MAX_WORKER_THREADS 000475 "MAX_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_MAX_WORKER_THREADS), 000476 #endif 000477 #ifdef SQLITE_MEMDEBUG 000478 "MEMDEBUG", 000479 #endif 000480 #ifdef SQLITE_MIXED_ENDIAN_64BIT_FLOAT 000481 "MIXED_ENDIAN_64BIT_FLOAT", 000482 #endif 000483 #ifdef SQLITE_MMAP_READWRITE 000484 "MMAP_READWRITE", 000485 #endif 000486 #ifdef SQLITE_MUTEX_NOOP 000487 "MUTEX_NOOP", 000488 #endif 000489 #ifdef SQLITE_MUTEX_OMIT 000490 "MUTEX_OMIT", 000491 #endif 000492 #ifdef SQLITE_MUTEX_PTHREADS 000493 "MUTEX_PTHREADS", 000494 #endif 000495 #ifdef SQLITE_MUTEX_W32 000496 "MUTEX_W32", 000497 #endif 000498 #ifdef SQLITE_NEED_ERR_NAME 000499 "NEED_ERR_NAME", 000500 #endif 000501 #ifdef SQLITE_NO_SYNC 000502 "NO_SYNC", 000503 #endif 000504 #ifdef SQLITE_OMIT_ALTERTABLE 000505 "OMIT_ALTERTABLE", 000506 #endif 000507 #ifdef SQLITE_OMIT_ANALYZE 000508 "OMIT_ANALYZE", 000509 #endif 000510 #ifdef SQLITE_OMIT_ATTACH 000511 "OMIT_ATTACH", 000512 #endif 000513 #ifdef SQLITE_OMIT_AUTHORIZATION 000514 "OMIT_AUTHORIZATION", 000515 #endif 000516 #ifdef SQLITE_OMIT_AUTOINCREMENT 000517 "OMIT_AUTOINCREMENT", 000518 #endif 000519 #ifdef SQLITE_OMIT_AUTOINIT 000520 "OMIT_AUTOINIT", 000521 #endif 000522 #ifdef SQLITE_OMIT_AUTOMATIC_INDEX 000523 "OMIT_AUTOMATIC_INDEX", 000524 #endif 000525 #ifdef SQLITE_OMIT_AUTORESET 000526 "OMIT_AUTORESET", 000527 #endif 000528 #ifdef SQLITE_OMIT_AUTOVACUUM 000529 "OMIT_AUTOVACUUM", 000530 #endif 000531 #ifdef SQLITE_OMIT_BETWEEN_OPTIMIZATION 000532 "OMIT_BETWEEN_OPTIMIZATION", 000533 #endif 000534 #ifdef SQLITE_OMIT_BLOB_LITERAL 000535 "OMIT_BLOB_LITERAL", 000536 #endif 000537 #ifdef SQLITE_OMIT_CAST 000538 "OMIT_CAST", 000539 #endif 000540 #ifdef SQLITE_OMIT_CHECK 000541 "OMIT_CHECK", 000542 #endif 000543 #ifdef SQLITE_OMIT_COMPLETE 000544 "OMIT_COMPLETE", 000545 #endif 000546 #ifdef SQLITE_OMIT_COMPOUND_SELECT 000547 "OMIT_COMPOUND_SELECT", 000548 #endif 000549 #ifdef SQLITE_OMIT_CONFLICT_CLAUSE 000550 "OMIT_CONFLICT_CLAUSE", 000551 #endif 000552 #ifdef SQLITE_OMIT_CTE 000553 "OMIT_CTE", 000554 #endif 000555 #if defined(SQLITE_OMIT_DATETIME_FUNCS) || defined(SQLITE_OMIT_FLOATING_POINT) 000556 "OMIT_DATETIME_FUNCS", 000557 #endif 000558 #ifdef SQLITE_OMIT_DECLTYPE 000559 "OMIT_DECLTYPE", 000560 #endif 000561 #ifdef SQLITE_OMIT_DEPRECATED 000562 "OMIT_DEPRECATED", 000563 #endif 000564 #ifdef SQLITE_OMIT_DESERIALIZE 000565 "OMIT_DESERIALIZE", 000566 #endif 000567 #ifdef SQLITE_OMIT_DISKIO 000568 "OMIT_DISKIO", 000569 #endif 000570 #ifdef SQLITE_OMIT_EXPLAIN 000571 "OMIT_EXPLAIN", 000572 #endif 000573 #ifdef SQLITE_OMIT_FLAG_PRAGMAS 000574 "OMIT_FLAG_PRAGMAS", 000575 #endif 000576 #ifdef SQLITE_OMIT_FLOATING_POINT 000577 "OMIT_FLOATING_POINT", 000578 #endif 000579 #ifdef SQLITE_OMIT_FOREIGN_KEY 000580 "OMIT_FOREIGN_KEY", 000581 #endif 000582 #ifdef SQLITE_OMIT_GET_TABLE 000583 "OMIT_GET_TABLE", 000584 #endif 000585 #ifdef SQLITE_OMIT_HEX_INTEGER 000586 "OMIT_HEX_INTEGER", 000587 #endif 000588 #ifdef SQLITE_OMIT_INCRBLOB 000589 "OMIT_INCRBLOB", 000590 #endif 000591 #ifdef SQLITE_OMIT_INTEGRITY_CHECK 000592 "OMIT_INTEGRITY_CHECK", 000593 #endif 000594 #ifdef SQLITE_OMIT_INTROSPECTION_PRAGMAS 000595 "OMIT_INTROSPECTION_PRAGMAS", 000596 #endif 000597 #ifdef SQLITE_OMIT_JSON 000598 "OMIT_JSON", 000599 #endif 000600 #ifdef SQLITE_OMIT_LIKE_OPTIMIZATION 000601 "OMIT_LIKE_OPTIMIZATION", 000602 #endif 000603 #ifdef SQLITE_OMIT_LOAD_EXTENSION 000604 "OMIT_LOAD_EXTENSION", 000605 #endif 000606 #ifdef SQLITE_OMIT_LOCALTIME 000607 "OMIT_LOCALTIME", 000608 #endif 000609 #ifdef SQLITE_OMIT_LOOKASIDE 000610 "OMIT_LOOKASIDE", 000611 #endif 000612 #ifdef SQLITE_OMIT_MEMORYDB 000613 "OMIT_MEMORYDB", 000614 #endif 000615 #ifdef SQLITE_OMIT_OR_OPTIMIZATION 000616 "OMIT_OR_OPTIMIZATION", 000617 #endif 000618 #ifdef SQLITE_OMIT_PAGER_PRAGMAS 000619 "OMIT_PAGER_PRAGMAS", 000620 #endif 000621 #ifdef SQLITE_OMIT_PARSER_TRACE 000622 "OMIT_PARSER_TRACE", 000623 #endif 000624 #ifdef SQLITE_OMIT_POPEN 000625 "OMIT_POPEN", 000626 #endif 000627 #ifdef SQLITE_OMIT_PRAGMA 000628 "OMIT_PRAGMA", 000629 #endif 000630 #ifdef SQLITE_OMIT_PROGRESS_CALLBACK 000631 "OMIT_PROGRESS_CALLBACK", 000632 #endif 000633 #ifdef SQLITE_OMIT_QUICKBALANCE 000634 "OMIT_QUICKBALANCE", 000635 #endif 000636 #ifdef SQLITE_OMIT_REINDEX 000637 "OMIT_REINDEX", 000638 #endif 000639 #ifdef SQLITE_OMIT_SCHEMA_PRAGMAS 000640 "OMIT_SCHEMA_PRAGMAS", 000641 #endif 000642 #ifdef SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS 000643 "OMIT_SCHEMA_VERSION_PRAGMAS", 000644 #endif 000645 #ifdef SQLITE_OMIT_SEH 000646 "OMIT_SEH", 000647 #endif 000648 #ifdef SQLITE_OMIT_SHARED_CACHE 000649 "OMIT_SHARED_CACHE", 000650 #endif 000651 #ifdef SQLITE_OMIT_SHUTDOWN_DIRECTORIES 000652 "OMIT_SHUTDOWN_DIRECTORIES", 000653 #endif 000654 #ifdef SQLITE_OMIT_SUBQUERY 000655 "OMIT_SUBQUERY", 000656 #endif 000657 #ifdef SQLITE_OMIT_TCL_VARIABLE 000658 "OMIT_TCL_VARIABLE", 000659 #endif 000660 #ifdef SQLITE_OMIT_TEMPDB 000661 "OMIT_TEMPDB", 000662 #endif 000663 #ifdef SQLITE_OMIT_TEST_CONTROL 000664 "OMIT_TEST_CONTROL", 000665 #endif 000666 #ifdef SQLITE_OMIT_TRACE 000667 # if SQLITE_OMIT_TRACE != 1 000668 "OMIT_TRACE=" CTIMEOPT_VAL(SQLITE_OMIT_TRACE), 000669 # endif 000670 #endif 000671 #ifdef SQLITE_OMIT_TRIGGER 000672 "OMIT_TRIGGER", 000673 #endif 000674 #ifdef SQLITE_OMIT_TRUNCATE_OPTIMIZATION 000675 "OMIT_TRUNCATE_OPTIMIZATION", 000676 #endif 000677 #ifdef SQLITE_OMIT_UTF16 000678 "OMIT_UTF16", 000679 #endif 000680 #ifdef SQLITE_OMIT_VACUUM 000681 "OMIT_VACUUM", 000682 #endif 000683 #ifdef SQLITE_OMIT_VIEW 000684 "OMIT_VIEW", 000685 #endif 000686 #ifdef SQLITE_OMIT_VIRTUALTABLE 000687 "OMIT_VIRTUALTABLE", 000688 #endif 000689 #ifdef SQLITE_OMIT_WAL 000690 "OMIT_WAL", 000691 #endif 000692 #ifdef SQLITE_OMIT_WSD 000693 "OMIT_WSD", 000694 #endif 000695 #ifdef SQLITE_OMIT_XFER_OPT 000696 "OMIT_XFER_OPT", 000697 #endif 000698 #ifdef SQLITE_PERFORMANCE_TRACE 000699 "PERFORMANCE_TRACE", 000700 #endif 000701 #ifdef SQLITE_POWERSAFE_OVERWRITE 000702 # if SQLITE_POWERSAFE_OVERWRITE != 1 000703 "POWERSAFE_OVERWRITE=" CTIMEOPT_VAL(SQLITE_POWERSAFE_OVERWRITE), 000704 # endif 000705 #endif 000706 #ifdef SQLITE_PREFER_PROXY_LOCKING 000707 "PREFER_PROXY_LOCKING", 000708 #endif 000709 #ifdef SQLITE_PROXY_DEBUG 000710 "PROXY_DEBUG", 000711 #endif 000712 #ifdef SQLITE_REVERSE_UNORDERED_SELECTS 000713 "REVERSE_UNORDERED_SELECTS", 000714 #endif 000715 #ifdef SQLITE_RTREE_INT_ONLY 000716 "RTREE_INT_ONLY", 000717 #endif 000718 #ifdef SQLITE_SECURE_DELETE 000719 "SECURE_DELETE", 000720 #endif 000721 #ifdef SQLITE_SMALL_STACK 000722 "SMALL_STACK", 000723 #endif 000724 #ifdef SQLITE_SORTER_PMASZ 000725 "SORTER_PMASZ=" CTIMEOPT_VAL(SQLITE_SORTER_PMASZ), 000726 #endif 000727 #ifdef SQLITE_SOUNDEX 000728 "SOUNDEX", 000729 #endif 000730 #ifdef SQLITE_STAT4_SAMPLES 000731 "STAT4_SAMPLES=" CTIMEOPT_VAL(SQLITE_STAT4_SAMPLES), 000732 #endif 000733 #ifdef SQLITE_STMTJRNL_SPILL 000734 "STMTJRNL_SPILL=" CTIMEOPT_VAL(SQLITE_STMTJRNL_SPILL), 000735 #endif 000736 #ifdef SQLITE_SUBSTR_COMPATIBILITY 000737 "SUBSTR_COMPATIBILITY", 000738 #endif 000739 #if (!defined(SQLITE_WIN32_MALLOC) \ 000740 && !defined(SQLITE_ZERO_MALLOC) \ 000741 && !defined(SQLITE_MEMDEBUG) \ 000742 ) || defined(SQLITE_SYSTEM_MALLOC) 000743 "SYSTEM_MALLOC", 000744 #endif 000745 #ifdef SQLITE_TCL 000746 "TCL", 000747 #endif 000748 #ifdef SQLITE_TEMP_STORE 000749 "TEMP_STORE=" CTIMEOPT_VAL(SQLITE_TEMP_STORE), 000750 #endif 000751 #ifdef SQLITE_TEST 000752 "TEST", 000753 #endif 000754 #if defined(SQLITE_THREADSAFE) 000755 "THREADSAFE=" CTIMEOPT_VAL(SQLITE_THREADSAFE), 000756 #elif defined(THREADSAFE) 000757 "THREADSAFE=" CTIMEOPT_VAL(THREADSAFE), 000758 #else 000759 "THREADSAFE=1", 000760 #endif 000761 #ifdef SQLITE_UNLINK_AFTER_CLOSE 000762 "UNLINK_AFTER_CLOSE", 000763 #endif 000764 #ifdef SQLITE_UNTESTABLE 000765 "UNTESTABLE", 000766 #endif 000767 #ifdef SQLITE_USER_AUTHENTICATION 000768 "USER_AUTHENTICATION", 000769 #endif 000770 #ifdef SQLITE_USE_ALLOCA 000771 "USE_ALLOCA", 000772 #endif 000773 #ifdef SQLITE_USE_FCNTL_TRACE 000774 "USE_FCNTL_TRACE", 000775 #endif 000776 #ifdef SQLITE_USE_URI 000777 "USE_URI", 000778 #endif 000779 #ifdef SQLITE_VDBE_COVERAGE 000780 "VDBE_COVERAGE", 000781 #endif 000782 #ifdef SQLITE_WIN32_MALLOC 000783 "WIN32_MALLOC", 000784 #endif 000785 #ifdef SQLITE_ZERO_MALLOC 000786 "ZERO_MALLOC", 000787 #endif 000788 000789 } ; 000790 000791 const char **sqlite3CompileOptions(int *pnOpt){ 000792 *pnOpt = sizeof(sqlite3azCompileOpt) / sizeof(sqlite3azCompileOpt[0]); 000793 return (const char**)sqlite3azCompileOpt; 000794 } 000795 000796 #endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */