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