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_ORDERED_SET_AGGREGATES 000299 "ENABLE_ORDERED_SET_AGGREGATES", 000300 #endif 000301 #ifdef SQLITE_ENABLE_OVERSIZE_CELL_CHECK 000302 "ENABLE_OVERSIZE_CELL_CHECK", 000303 #endif 000304 #ifdef SQLITE_ENABLE_PREUPDATE_HOOK 000305 "ENABLE_PREUPDATE_HOOK", 000306 #endif 000307 #ifdef SQLITE_ENABLE_QPSG 000308 "ENABLE_QPSG", 000309 #endif 000310 #ifdef SQLITE_ENABLE_RBU 000311 "ENABLE_RBU", 000312 #endif 000313 #ifdef SQLITE_ENABLE_RTREE 000314 "ENABLE_RTREE", 000315 #endif 000316 #ifdef SQLITE_ENABLE_SESSION 000317 "ENABLE_SESSION", 000318 #endif 000319 #ifdef SQLITE_ENABLE_SNAPSHOT 000320 "ENABLE_SNAPSHOT", 000321 #endif 000322 #ifdef SQLITE_ENABLE_SORTER_REFERENCES 000323 "ENABLE_SORTER_REFERENCES", 000324 #endif 000325 #ifdef SQLITE_ENABLE_SQLLOG 000326 "ENABLE_SQLLOG", 000327 #endif 000328 #ifdef SQLITE_ENABLE_STAT4 000329 "ENABLE_STAT4", 000330 #endif 000331 #ifdef SQLITE_ENABLE_STMTVTAB 000332 "ENABLE_STMTVTAB", 000333 #endif 000334 #ifdef SQLITE_ENABLE_STMT_SCANSTATUS 000335 "ENABLE_STMT_SCANSTATUS", 000336 #endif 000337 #ifdef SQLITE_ENABLE_TREETRACE 000338 "ENABLE_TREETRACE", 000339 #endif 000340 #ifdef SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION 000341 "ENABLE_UNKNOWN_SQL_FUNCTION", 000342 #endif 000343 #ifdef SQLITE_ENABLE_UNLOCK_NOTIFY 000344 "ENABLE_UNLOCK_NOTIFY", 000345 #endif 000346 #ifdef SQLITE_ENABLE_UPDATE_DELETE_LIMIT 000347 "ENABLE_UPDATE_DELETE_LIMIT", 000348 #endif 000349 #ifdef SQLITE_ENABLE_URI_00_ERROR 000350 "ENABLE_URI_00_ERROR", 000351 #endif 000352 #ifdef SQLITE_ENABLE_VFSTRACE 000353 "ENABLE_VFSTRACE", 000354 #endif 000355 #ifdef SQLITE_ENABLE_WHERETRACE 000356 "ENABLE_WHERETRACE", 000357 #endif 000358 #ifdef SQLITE_ENABLE_ZIPVFS 000359 "ENABLE_ZIPVFS", 000360 #endif 000361 #ifdef SQLITE_EXPLAIN_ESTIMATED_ROWS 000362 "EXPLAIN_ESTIMATED_ROWS", 000363 #endif 000364 #ifdef SQLITE_EXTRA_AUTOEXT 000365 "EXTRA_AUTOEXT=" CTIMEOPT_VAL(SQLITE_EXTRA_AUTOEXT), 000366 #endif 000367 #ifdef SQLITE_EXTRA_IFNULLROW 000368 "EXTRA_IFNULLROW", 000369 #endif 000370 #ifdef SQLITE_EXTRA_INIT 000371 "EXTRA_INIT=" CTIMEOPT_VAL(SQLITE_EXTRA_INIT), 000372 #endif 000373 #ifdef SQLITE_EXTRA_SHUTDOWN 000374 "EXTRA_SHUTDOWN=" CTIMEOPT_VAL(SQLITE_EXTRA_SHUTDOWN), 000375 #endif 000376 #ifdef SQLITE_FTS3_MAX_EXPR_DEPTH 000377 "FTS3_MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_FTS3_MAX_EXPR_DEPTH), 000378 #endif 000379 #ifdef SQLITE_FTS5_ENABLE_TEST_MI 000380 "FTS5_ENABLE_TEST_MI", 000381 #endif 000382 #ifdef SQLITE_FTS5_NO_WITHOUT_ROWID 000383 "FTS5_NO_WITHOUT_ROWID", 000384 #endif 000385 #if HAVE_ISNAN || SQLITE_HAVE_ISNAN 000386 "HAVE_ISNAN", 000387 #endif 000388 #ifdef SQLITE_HOMEGROWN_RECURSIVE_MUTEX 000389 # if SQLITE_HOMEGROWN_RECURSIVE_MUTEX != 1 000390 "HOMEGROWN_RECURSIVE_MUTEX=" CTIMEOPT_VAL(SQLITE_HOMEGROWN_RECURSIVE_MUTEX), 000391 # endif 000392 #endif 000393 #ifdef SQLITE_IGNORE_AFP_LOCK_ERRORS 000394 "IGNORE_AFP_LOCK_ERRORS", 000395 #endif 000396 #ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS 000397 "IGNORE_FLOCK_LOCK_ERRORS", 000398 #endif 000399 #ifdef SQLITE_INLINE_MEMCPY 000400 "INLINE_MEMCPY", 000401 #endif 000402 #ifdef SQLITE_INT64_TYPE 000403 "INT64_TYPE", 000404 #endif 000405 #ifdef SQLITE_INTEGRITY_CHECK_ERROR_MAX 000406 "INTEGRITY_CHECK_ERROR_MAX=" CTIMEOPT_VAL(SQLITE_INTEGRITY_CHECK_ERROR_MAX), 000407 #endif 000408 #ifdef SQLITE_LEGACY_JSON_VALID 000409 "LEGACY_JSON_VALID", 000410 #endif 000411 #ifdef SQLITE_LIKE_DOESNT_MATCH_BLOBS 000412 "LIKE_DOESNT_MATCH_BLOBS", 000413 #endif 000414 #ifdef SQLITE_LOCK_TRACE 000415 "LOCK_TRACE", 000416 #endif 000417 #ifdef SQLITE_LOG_CACHE_SPILL 000418 "LOG_CACHE_SPILL", 000419 #endif 000420 #ifdef SQLITE_MALLOC_SOFT_LIMIT 000421 "MALLOC_SOFT_LIMIT=" CTIMEOPT_VAL(SQLITE_MALLOC_SOFT_LIMIT), 000422 #endif 000423 #ifdef SQLITE_MAX_ATTACHED 000424 "MAX_ATTACHED=" CTIMEOPT_VAL(SQLITE_MAX_ATTACHED), 000425 #endif 000426 #ifdef SQLITE_MAX_COLUMN 000427 "MAX_COLUMN=" CTIMEOPT_VAL(SQLITE_MAX_COLUMN), 000428 #endif 000429 #ifdef SQLITE_MAX_COMPOUND_SELECT 000430 "MAX_COMPOUND_SELECT=" CTIMEOPT_VAL(SQLITE_MAX_COMPOUND_SELECT), 000431 #endif 000432 #ifdef SQLITE_MAX_DEFAULT_PAGE_SIZE 000433 "MAX_DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_DEFAULT_PAGE_SIZE), 000434 #endif 000435 #ifdef SQLITE_MAX_EXPR_DEPTH 000436 "MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_EXPR_DEPTH), 000437 #endif 000438 #ifdef SQLITE_MAX_FUNCTION_ARG 000439 "MAX_FUNCTION_ARG=" CTIMEOPT_VAL(SQLITE_MAX_FUNCTION_ARG), 000440 #endif 000441 #ifdef SQLITE_MAX_LENGTH 000442 "MAX_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LENGTH), 000443 #endif 000444 #ifdef SQLITE_MAX_LIKE_PATTERN_LENGTH 000445 "MAX_LIKE_PATTERN_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LIKE_PATTERN_LENGTH), 000446 #endif 000447 #ifdef SQLITE_MAX_MEMORY 000448 "MAX_MEMORY=" CTIMEOPT_VAL(SQLITE_MAX_MEMORY), 000449 #endif 000450 #ifdef SQLITE_MAX_MMAP_SIZE 000451 "MAX_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE), 000452 #endif 000453 #ifdef SQLITE_MAX_MMAP_SIZE_ 000454 "MAX_MMAP_SIZE_=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE_), 000455 #endif 000456 #ifdef SQLITE_MAX_PAGE_COUNT 000457 "MAX_PAGE_COUNT=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_COUNT), 000458 #endif 000459 #ifdef SQLITE_MAX_PAGE_SIZE 000460 "MAX_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_SIZE), 000461 #endif 000462 #ifdef SQLITE_MAX_SCHEMA_RETRY 000463 "MAX_SCHEMA_RETRY=" CTIMEOPT_VAL(SQLITE_MAX_SCHEMA_RETRY), 000464 #endif 000465 #ifdef SQLITE_MAX_SQL_LENGTH 000466 "MAX_SQL_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_SQL_LENGTH), 000467 #endif 000468 #ifdef SQLITE_MAX_TRIGGER_DEPTH 000469 "MAX_TRIGGER_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_TRIGGER_DEPTH), 000470 #endif 000471 #ifdef SQLITE_MAX_VARIABLE_NUMBER 000472 "MAX_VARIABLE_NUMBER=" CTIMEOPT_VAL(SQLITE_MAX_VARIABLE_NUMBER), 000473 #endif 000474 #ifdef SQLITE_MAX_VDBE_OP 000475 "MAX_VDBE_OP=" CTIMEOPT_VAL(SQLITE_MAX_VDBE_OP), 000476 #endif 000477 #ifdef SQLITE_MAX_WORKER_THREADS 000478 "MAX_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_MAX_WORKER_THREADS), 000479 #endif 000480 #ifdef SQLITE_MEMDEBUG 000481 "MEMDEBUG", 000482 #endif 000483 #ifdef SQLITE_MIXED_ENDIAN_64BIT_FLOAT 000484 "MIXED_ENDIAN_64BIT_FLOAT", 000485 #endif 000486 #ifdef SQLITE_MMAP_READWRITE 000487 "MMAP_READWRITE", 000488 #endif 000489 #ifdef SQLITE_MUTEX_NOOP 000490 "MUTEX_NOOP", 000491 #endif 000492 #ifdef SQLITE_MUTEX_OMIT 000493 "MUTEX_OMIT", 000494 #endif 000495 #ifdef SQLITE_MUTEX_PTHREADS 000496 "MUTEX_PTHREADS", 000497 #endif 000498 #ifdef SQLITE_MUTEX_W32 000499 "MUTEX_W32", 000500 #endif 000501 #ifdef SQLITE_NEED_ERR_NAME 000502 "NEED_ERR_NAME", 000503 #endif 000504 #ifdef SQLITE_NO_SYNC 000505 "NO_SYNC", 000506 #endif 000507 #ifdef SQLITE_OMIT_ALTERTABLE 000508 "OMIT_ALTERTABLE", 000509 #endif 000510 #ifdef SQLITE_OMIT_ANALYZE 000511 "OMIT_ANALYZE", 000512 #endif 000513 #ifdef SQLITE_OMIT_ATTACH 000514 "OMIT_ATTACH", 000515 #endif 000516 #ifdef SQLITE_OMIT_AUTHORIZATION 000517 "OMIT_AUTHORIZATION", 000518 #endif 000519 #ifdef SQLITE_OMIT_AUTOINCREMENT 000520 "OMIT_AUTOINCREMENT", 000521 #endif 000522 #ifdef SQLITE_OMIT_AUTOINIT 000523 "OMIT_AUTOINIT", 000524 #endif 000525 #ifdef SQLITE_OMIT_AUTOMATIC_INDEX 000526 "OMIT_AUTOMATIC_INDEX", 000527 #endif 000528 #ifdef SQLITE_OMIT_AUTORESET 000529 "OMIT_AUTORESET", 000530 #endif 000531 #ifdef SQLITE_OMIT_AUTOVACUUM 000532 "OMIT_AUTOVACUUM", 000533 #endif 000534 #ifdef SQLITE_OMIT_BETWEEN_OPTIMIZATION 000535 "OMIT_BETWEEN_OPTIMIZATION", 000536 #endif 000537 #ifdef SQLITE_OMIT_BLOB_LITERAL 000538 "OMIT_BLOB_LITERAL", 000539 #endif 000540 #ifdef SQLITE_OMIT_CAST 000541 "OMIT_CAST", 000542 #endif 000543 #ifdef SQLITE_OMIT_CHECK 000544 "OMIT_CHECK", 000545 #endif 000546 #ifdef SQLITE_OMIT_COMPLETE 000547 "OMIT_COMPLETE", 000548 #endif 000549 #ifdef SQLITE_OMIT_COMPOUND_SELECT 000550 "OMIT_COMPOUND_SELECT", 000551 #endif 000552 #ifdef SQLITE_OMIT_CONFLICT_CLAUSE 000553 "OMIT_CONFLICT_CLAUSE", 000554 #endif 000555 #ifdef SQLITE_OMIT_CTE 000556 "OMIT_CTE", 000557 #endif 000558 #if defined(SQLITE_OMIT_DATETIME_FUNCS) || defined(SQLITE_OMIT_FLOATING_POINT) 000559 "OMIT_DATETIME_FUNCS", 000560 #endif 000561 #ifdef SQLITE_OMIT_DECLTYPE 000562 "OMIT_DECLTYPE", 000563 #endif 000564 #ifdef SQLITE_OMIT_DEPRECATED 000565 "OMIT_DEPRECATED", 000566 #endif 000567 #ifdef SQLITE_OMIT_DESERIALIZE 000568 "OMIT_DESERIALIZE", 000569 #endif 000570 #ifdef SQLITE_OMIT_DISKIO 000571 "OMIT_DISKIO", 000572 #endif 000573 #ifdef SQLITE_OMIT_EXPLAIN 000574 "OMIT_EXPLAIN", 000575 #endif 000576 #ifdef SQLITE_OMIT_FLAG_PRAGMAS 000577 "OMIT_FLAG_PRAGMAS", 000578 #endif 000579 #ifdef SQLITE_OMIT_FLOATING_POINT 000580 "OMIT_FLOATING_POINT", 000581 #endif 000582 #ifdef SQLITE_OMIT_FOREIGN_KEY 000583 "OMIT_FOREIGN_KEY", 000584 #endif 000585 #ifdef SQLITE_OMIT_GET_TABLE 000586 "OMIT_GET_TABLE", 000587 #endif 000588 #ifdef SQLITE_OMIT_HEX_INTEGER 000589 "OMIT_HEX_INTEGER", 000590 #endif 000591 #ifdef SQLITE_OMIT_INCRBLOB 000592 "OMIT_INCRBLOB", 000593 #endif 000594 #ifdef SQLITE_OMIT_INTEGRITY_CHECK 000595 "OMIT_INTEGRITY_CHECK", 000596 #endif 000597 #ifdef SQLITE_OMIT_INTROSPECTION_PRAGMAS 000598 "OMIT_INTROSPECTION_PRAGMAS", 000599 #endif 000600 #ifdef SQLITE_OMIT_JSON 000601 "OMIT_JSON", 000602 #endif 000603 #ifdef SQLITE_OMIT_LIKE_OPTIMIZATION 000604 "OMIT_LIKE_OPTIMIZATION", 000605 #endif 000606 #ifdef SQLITE_OMIT_LOAD_EXTENSION 000607 "OMIT_LOAD_EXTENSION", 000608 #endif 000609 #ifdef SQLITE_OMIT_LOCALTIME 000610 "OMIT_LOCALTIME", 000611 #endif 000612 #ifdef SQLITE_OMIT_LOOKASIDE 000613 "OMIT_LOOKASIDE", 000614 #endif 000615 #ifdef SQLITE_OMIT_MEMORYDB 000616 "OMIT_MEMORYDB", 000617 #endif 000618 #ifdef SQLITE_OMIT_OR_OPTIMIZATION 000619 "OMIT_OR_OPTIMIZATION", 000620 #endif 000621 #ifdef SQLITE_OMIT_PAGER_PRAGMAS 000622 "OMIT_PAGER_PRAGMAS", 000623 #endif 000624 #ifdef SQLITE_OMIT_PARSER_TRACE 000625 "OMIT_PARSER_TRACE", 000626 #endif 000627 #ifdef SQLITE_OMIT_POPEN 000628 "OMIT_POPEN", 000629 #endif 000630 #ifdef SQLITE_OMIT_PRAGMA 000631 "OMIT_PRAGMA", 000632 #endif 000633 #ifdef SQLITE_OMIT_PROGRESS_CALLBACK 000634 "OMIT_PROGRESS_CALLBACK", 000635 #endif 000636 #ifdef SQLITE_OMIT_QUICKBALANCE 000637 "OMIT_QUICKBALANCE", 000638 #endif 000639 #ifdef SQLITE_OMIT_REINDEX 000640 "OMIT_REINDEX", 000641 #endif 000642 #ifdef SQLITE_OMIT_SCHEMA_PRAGMAS 000643 "OMIT_SCHEMA_PRAGMAS", 000644 #endif 000645 #ifdef SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS 000646 "OMIT_SCHEMA_VERSION_PRAGMAS", 000647 #endif 000648 #ifdef SQLITE_OMIT_SEH 000649 "OMIT_SEH", 000650 #endif 000651 #ifdef SQLITE_OMIT_SHARED_CACHE 000652 "OMIT_SHARED_CACHE", 000653 #endif 000654 #ifdef SQLITE_OMIT_SHUTDOWN_DIRECTORIES 000655 "OMIT_SHUTDOWN_DIRECTORIES", 000656 #endif 000657 #ifdef SQLITE_OMIT_SUBQUERY 000658 "OMIT_SUBQUERY", 000659 #endif 000660 #ifdef SQLITE_OMIT_TCL_VARIABLE 000661 "OMIT_TCL_VARIABLE", 000662 #endif 000663 #ifdef SQLITE_OMIT_TEMPDB 000664 "OMIT_TEMPDB", 000665 #endif 000666 #ifdef SQLITE_OMIT_TEST_CONTROL 000667 "OMIT_TEST_CONTROL", 000668 #endif 000669 #ifdef SQLITE_OMIT_TRACE 000670 # if SQLITE_OMIT_TRACE != 1 000671 "OMIT_TRACE=" CTIMEOPT_VAL(SQLITE_OMIT_TRACE), 000672 # endif 000673 #endif 000674 #ifdef SQLITE_OMIT_TRIGGER 000675 "OMIT_TRIGGER", 000676 #endif 000677 #ifdef SQLITE_OMIT_TRUNCATE_OPTIMIZATION 000678 "OMIT_TRUNCATE_OPTIMIZATION", 000679 #endif 000680 #ifdef SQLITE_OMIT_UTF16 000681 "OMIT_UTF16", 000682 #endif 000683 #ifdef SQLITE_OMIT_VACUUM 000684 "OMIT_VACUUM", 000685 #endif 000686 #ifdef SQLITE_OMIT_VIEW 000687 "OMIT_VIEW", 000688 #endif 000689 #ifdef SQLITE_OMIT_VIRTUALTABLE 000690 "OMIT_VIRTUALTABLE", 000691 #endif 000692 #ifdef SQLITE_OMIT_WAL 000693 "OMIT_WAL", 000694 #endif 000695 #ifdef SQLITE_OMIT_WSD 000696 "OMIT_WSD", 000697 #endif 000698 #ifdef SQLITE_OMIT_XFER_OPT 000699 "OMIT_XFER_OPT", 000700 #endif 000701 #ifdef SQLITE_PERFORMANCE_TRACE 000702 "PERFORMANCE_TRACE", 000703 #endif 000704 #ifdef SQLITE_POWERSAFE_OVERWRITE 000705 # if SQLITE_POWERSAFE_OVERWRITE != 1 000706 "POWERSAFE_OVERWRITE=" CTIMEOPT_VAL(SQLITE_POWERSAFE_OVERWRITE), 000707 # endif 000708 #endif 000709 #ifdef SQLITE_PREFER_PROXY_LOCKING 000710 "PREFER_PROXY_LOCKING", 000711 #endif 000712 #ifdef SQLITE_PROXY_DEBUG 000713 "PROXY_DEBUG", 000714 #endif 000715 #ifdef SQLITE_REVERSE_UNORDERED_SELECTS 000716 "REVERSE_UNORDERED_SELECTS", 000717 #endif 000718 #ifdef SQLITE_RTREE_INT_ONLY 000719 "RTREE_INT_ONLY", 000720 #endif 000721 #ifdef SQLITE_SECURE_DELETE 000722 "SECURE_DELETE", 000723 #endif 000724 #ifdef SQLITE_SMALL_STACK 000725 "SMALL_STACK", 000726 #endif 000727 #ifdef SQLITE_SORTER_PMASZ 000728 "SORTER_PMASZ=" CTIMEOPT_VAL(SQLITE_SORTER_PMASZ), 000729 #endif 000730 #ifdef SQLITE_SOUNDEX 000731 "SOUNDEX", 000732 #endif 000733 #ifdef SQLITE_STAT4_SAMPLES 000734 "STAT4_SAMPLES=" CTIMEOPT_VAL(SQLITE_STAT4_SAMPLES), 000735 #endif 000736 #ifdef SQLITE_STMTJRNL_SPILL 000737 "STMTJRNL_SPILL=" CTIMEOPT_VAL(SQLITE_STMTJRNL_SPILL), 000738 #endif 000739 #ifdef SQLITE_SUBSTR_COMPATIBILITY 000740 "SUBSTR_COMPATIBILITY", 000741 #endif 000742 #if (!defined(SQLITE_WIN32_MALLOC) \ 000743 && !defined(SQLITE_ZERO_MALLOC) \ 000744 && !defined(SQLITE_MEMDEBUG) \ 000745 ) || defined(SQLITE_SYSTEM_MALLOC) 000746 "SYSTEM_MALLOC", 000747 #endif 000748 #ifdef SQLITE_TCL 000749 "TCL", 000750 #endif 000751 #ifdef SQLITE_TEMP_STORE 000752 "TEMP_STORE=" CTIMEOPT_VAL(SQLITE_TEMP_STORE), 000753 #endif 000754 #ifdef SQLITE_TEST 000755 "TEST", 000756 #endif 000757 #if defined(SQLITE_THREADSAFE) 000758 "THREADSAFE=" CTIMEOPT_VAL(SQLITE_THREADSAFE), 000759 #elif defined(THREADSAFE) 000760 "THREADSAFE=" CTIMEOPT_VAL(THREADSAFE), 000761 #else 000762 "THREADSAFE=1", 000763 #endif 000764 #ifdef SQLITE_UNLINK_AFTER_CLOSE 000765 "UNLINK_AFTER_CLOSE", 000766 #endif 000767 #ifdef SQLITE_UNTESTABLE 000768 "UNTESTABLE", 000769 #endif 000770 #ifdef SQLITE_USER_AUTHENTICATION 000771 "USER_AUTHENTICATION", 000772 #endif 000773 #ifdef SQLITE_USE_ALLOCA 000774 "USE_ALLOCA", 000775 #endif 000776 #ifdef SQLITE_USE_FCNTL_TRACE 000777 "USE_FCNTL_TRACE", 000778 #endif 000779 #ifdef SQLITE_USE_URI 000780 "USE_URI", 000781 #endif 000782 #ifdef SQLITE_VDBE_COVERAGE 000783 "VDBE_COVERAGE", 000784 #endif 000785 #ifdef SQLITE_WIN32_MALLOC 000786 "WIN32_MALLOC", 000787 #endif 000788 #ifdef SQLITE_ZERO_MALLOC 000789 "ZERO_MALLOC", 000790 #endif 000791 000792 } ; 000793 000794 const char **sqlite3CompileOptions(int *pnOpt){ 000795 *pnOpt = sizeof(sqlite3azCompileOpt) / sizeof(sqlite3azCompileOpt[0]); 000796 return (const char**)sqlite3azCompileOpt; 000797 } 000798 000799 #endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */