2 ** This file is automatically generated by the script in the canonical
3 ** SQLite source tree at tool/mkctimec.tcl.
5 ** To modify this header, edit any of the various lists in that script
6 ** which specify categories of generated conditionals in this file.
12 ** The author disclaims copyright to this source code. In place of
13 ** a legal notice, here is a blessing:
15 ** May you do good and not evil.
16 ** May you find forgiveness for yourself and forgive others.
17 ** May you share freely, never taking more than you give.
19 *************************************************************************
21 ** This file implements routines used to report what compile-time options
22 ** SQLite was built with.
24 #ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS /* IMP: R-16824-07538 */
27 ** Include the configuration header output by 'configure' if we're using the
28 ** autoconf-based build
30 #if defined(_HAVE_SQLITE_CONFIG_H) && !defined(SQLITECONFIG_H)
31 #include "sqlite_cfg.h"
32 #define SQLITECONFIG_H 1
35 /* These macros are provided to "stringify" the value of the define
36 ** for those options in which the value is meaningful. */
37 #define CTIMEOPT_VAL_(opt) #opt
38 #define CTIMEOPT_VAL(opt) CTIMEOPT_VAL_(opt)
40 /* Like CTIMEOPT_VAL, but especially for SQLITE_DEFAULT_LOOKASIDE. This
41 ** option requires a separate macro because legal values contain a single
42 ** comma. e.g. (-DSQLITE_DEFAULT_LOOKASIDE="100,100") */
43 #define CTIMEOPT_VAL2_(opt1,opt2) #opt1 "," #opt2
44 #define CTIMEOPT_VAL2(opt) CTIMEOPT_VAL2_(opt)
45 #include "sqliteInt.h"
48 ** An array of names of all compile-time options. This array should
51 ** This array looks large, but in a typical installation actually uses
52 ** only a handful of compile-time options, so most times this array is usually
53 ** rather short and uses little memory space.
55 static const char * const sqlite3azCompileOpt
[] = {
57 #ifdef SQLITE_32BIT_ROWID
60 #ifdef SQLITE_4_BYTE_ALIGNED_MALLOC
61 "4_BYTE_ALIGNED_MALLOC",
63 #ifdef SQLITE_ALLOW_COVERING_INDEX_SCAN
64 # if SQLITE_ALLOW_COVERING_INDEX_SCAN != 1
65 "ALLOW_COVERING_INDEX_SCAN=" CTIMEOPT_VAL(SQLITE_ALLOW_COVERING_INDEX_SCAN
),
68 #ifdef SQLITE_ALLOW_ROWID_IN_VIEW
69 "ALLOW_ROWID_IN_VIEW",
71 #ifdef SQLITE_ALLOW_URI_AUTHORITY
72 "ALLOW_URI_AUTHORITY",
74 #ifdef SQLITE_ATOMIC_INTRINSICS
75 "ATOMIC_INTRINSICS=" CTIMEOPT_VAL(SQLITE_ATOMIC_INTRINSICS
),
77 #ifdef SQLITE_BITMASK_TYPE
78 "BITMASK_TYPE=" CTIMEOPT_VAL(SQLITE_BITMASK_TYPE
),
80 #ifdef SQLITE_BUG_COMPATIBLE_20160819
81 "BUG_COMPATIBLE_20160819",
83 #ifdef SQLITE_CASE_SENSITIVE_LIKE
84 "CASE_SENSITIVE_LIKE",
86 #ifdef SQLITE_CHECK_PAGES
89 #if defined(__clang__) && defined(__clang_major__)
90 "COMPILER=clang-" CTIMEOPT_VAL(__clang_major__
) "."
91 CTIMEOPT_VAL(__clang_minor__
) "."
92 CTIMEOPT_VAL(__clang_patchlevel__
),
93 #elif defined(_MSC_VER)
94 "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER
),
95 #elif defined(__GNUC__) && defined(__VERSION__)
96 "COMPILER=gcc-" __VERSION__
,
98 #ifdef SQLITE_COVERAGE_TEST
104 #ifdef SQLITE_DEFAULT_AUTOMATIC_INDEX
105 "DEFAULT_AUTOMATIC_INDEX",
107 #ifdef SQLITE_DEFAULT_AUTOVACUUM
108 "DEFAULT_AUTOVACUUM",
110 #ifdef SQLITE_DEFAULT_CACHE_SIZE
111 "DEFAULT_CACHE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_CACHE_SIZE
),
113 #ifdef SQLITE_DEFAULT_CKPTFULLFSYNC
114 "DEFAULT_CKPTFULLFSYNC",
116 #ifdef SQLITE_DEFAULT_FILE_FORMAT
117 "DEFAULT_FILE_FORMAT=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_FORMAT
),
119 #ifdef SQLITE_DEFAULT_FILE_PERMISSIONS
120 "DEFAULT_FILE_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_PERMISSIONS
),
122 #ifdef SQLITE_DEFAULT_FOREIGN_KEYS
123 "DEFAULT_FOREIGN_KEYS",
125 #ifdef SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT
126 "DEFAULT_JOURNAL_SIZE_LIMIT=" CTIMEOPT_VAL(SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT
),
128 #ifdef SQLITE_DEFAULT_LOCKING_MODE
129 "DEFAULT_LOCKING_MODE=" CTIMEOPT_VAL(SQLITE_DEFAULT_LOCKING_MODE
),
131 #ifdef SQLITE_DEFAULT_LOOKASIDE
132 "DEFAULT_LOOKASIDE=" CTIMEOPT_VAL2(SQLITE_DEFAULT_LOOKASIDE
),
134 #ifdef SQLITE_DEFAULT_MEMSTATUS
135 # if SQLITE_DEFAULT_MEMSTATUS != 1
136 "DEFAULT_MEMSTATUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_MEMSTATUS
),
139 #ifdef SQLITE_DEFAULT_MMAP_SIZE
140 "DEFAULT_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_MMAP_SIZE
),
142 #ifdef SQLITE_DEFAULT_PAGE_SIZE
143 "DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_PAGE_SIZE
),
145 #ifdef SQLITE_DEFAULT_PCACHE_INITSZ
146 "DEFAULT_PCACHE_INITSZ=" CTIMEOPT_VAL(SQLITE_DEFAULT_PCACHE_INITSZ
),
148 #ifdef SQLITE_DEFAULT_PROXYDIR_PERMISSIONS
149 "DEFAULT_PROXYDIR_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_PROXYDIR_PERMISSIONS
),
151 #ifdef SQLITE_DEFAULT_RECURSIVE_TRIGGERS
152 "DEFAULT_RECURSIVE_TRIGGERS",
154 #ifdef SQLITE_DEFAULT_ROWEST
155 "DEFAULT_ROWEST=" CTIMEOPT_VAL(SQLITE_DEFAULT_ROWEST
),
157 #ifdef SQLITE_DEFAULT_SECTOR_SIZE
158 "DEFAULT_SECTOR_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_SECTOR_SIZE
),
160 #ifdef SQLITE_DEFAULT_SYNCHRONOUS
161 "DEFAULT_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_SYNCHRONOUS
),
163 #ifdef SQLITE_DEFAULT_WAL_AUTOCHECKPOINT
164 "DEFAULT_WAL_AUTOCHECKPOINT=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_AUTOCHECKPOINT
),
166 #ifdef SQLITE_DEFAULT_WAL_SYNCHRONOUS
167 "DEFAULT_WAL_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_SYNCHRONOUS
),
169 #ifdef SQLITE_DEFAULT_WORKER_THREADS
170 "DEFAULT_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WORKER_THREADS
),
172 #ifdef SQLITE_DIRECT_OVERFLOW_READ
173 "DIRECT_OVERFLOW_READ",
175 #ifdef SQLITE_DISABLE_DIRSYNC
178 #ifdef SQLITE_DISABLE_FTS3_UNICODE
179 "DISABLE_FTS3_UNICODE",
181 #ifdef SQLITE_DISABLE_FTS4_DEFERRED
182 "DISABLE_FTS4_DEFERRED",
184 #ifdef SQLITE_DISABLE_INTRINSIC
187 #ifdef SQLITE_DISABLE_LFS
190 #ifdef SQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS
191 "DISABLE_PAGECACHE_OVERFLOW_STATS",
193 #ifdef SQLITE_DISABLE_SKIPAHEAD_DISTINCT
194 "DISABLE_SKIPAHEAD_DISTINCT",
197 "DQS=" CTIMEOPT_VAL(SQLITE_DQS
),
199 #ifdef SQLITE_ENABLE_8_3_NAMES
200 "ENABLE_8_3_NAMES=" CTIMEOPT_VAL(SQLITE_ENABLE_8_3_NAMES
),
202 #ifdef SQLITE_ENABLE_API_ARMOR
205 #ifdef SQLITE_ENABLE_ATOMIC_WRITE
206 "ENABLE_ATOMIC_WRITE",
208 #ifdef SQLITE_ENABLE_BATCH_ATOMIC_WRITE
209 "ENABLE_BATCH_ATOMIC_WRITE",
211 #ifdef SQLITE_ENABLE_BYTECODE_VTAB
212 "ENABLE_BYTECODE_VTAB",
214 #ifdef SQLITE_ENABLE_CEROD
215 "ENABLE_CEROD=" CTIMEOPT_VAL(SQLITE_ENABLE_CEROD
),
217 #ifdef SQLITE_ENABLE_COLUMN_METADATA
218 "ENABLE_COLUMN_METADATA",
220 #ifdef SQLITE_ENABLE_COLUMN_USED_MASK
221 "ENABLE_COLUMN_USED_MASK",
223 #ifdef SQLITE_ENABLE_COSTMULT
226 #ifdef SQLITE_ENABLE_CURSOR_HINTS
227 "ENABLE_CURSOR_HINTS",
229 #ifdef SQLITE_ENABLE_DBPAGE_VTAB
230 "ENABLE_DBPAGE_VTAB",
232 #ifdef SQLITE_ENABLE_DBSTAT_VTAB
233 "ENABLE_DBSTAT_VTAB",
235 #ifdef SQLITE_ENABLE_EXPENSIVE_ASSERT
236 "ENABLE_EXPENSIVE_ASSERT",
238 #ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS
239 "ENABLE_EXPLAIN_COMMENTS",
241 #ifdef SQLITE_ENABLE_FTS3
244 #ifdef SQLITE_ENABLE_FTS3_PARENTHESIS
245 "ENABLE_FTS3_PARENTHESIS",
247 #ifdef SQLITE_ENABLE_FTS3_TOKENIZER
248 "ENABLE_FTS3_TOKENIZER",
250 #ifdef SQLITE_ENABLE_FTS4
253 #ifdef SQLITE_ENABLE_FTS5
256 #ifdef SQLITE_ENABLE_GEOPOLY
259 #ifdef SQLITE_ENABLE_HIDDEN_COLUMNS
260 "ENABLE_HIDDEN_COLUMNS",
262 #ifdef SQLITE_ENABLE_ICU
265 #ifdef SQLITE_ENABLE_IOTRACE
268 #ifdef SQLITE_ENABLE_LOAD_EXTENSION
269 "ENABLE_LOAD_EXTENSION",
271 #ifdef SQLITE_ENABLE_LOCKING_STYLE
272 "ENABLE_LOCKING_STYLE=" CTIMEOPT_VAL(SQLITE_ENABLE_LOCKING_STYLE
),
274 #ifdef SQLITE_ENABLE_MATH_FUNCTIONS
275 "ENABLE_MATH_FUNCTIONS",
277 #ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT
278 "ENABLE_MEMORY_MANAGEMENT",
280 #ifdef SQLITE_ENABLE_MEMSYS3
283 #ifdef SQLITE_ENABLE_MEMSYS5
286 #ifdef SQLITE_ENABLE_MULTIPLEX
289 #ifdef SQLITE_ENABLE_NORMALIZE
292 #ifdef SQLITE_ENABLE_NULL_TRIM
295 #ifdef SQLITE_ENABLE_OFFSET_SQL_FUNC
296 "ENABLE_OFFSET_SQL_FUNC",
298 #ifdef SQLITE_ENABLE_OVERSIZE_CELL_CHECK
299 "ENABLE_OVERSIZE_CELL_CHECK",
301 #ifdef SQLITE_ENABLE_PREUPDATE_HOOK
302 "ENABLE_PREUPDATE_HOOK",
304 #ifdef SQLITE_ENABLE_QPSG
307 #ifdef SQLITE_ENABLE_RBU
310 #ifdef SQLITE_ENABLE_RTREE
313 #ifdef SQLITE_ENABLE_SESSION
316 #ifdef SQLITE_ENABLE_SNAPSHOT
319 #ifdef SQLITE_ENABLE_SORTER_REFERENCES
320 "ENABLE_SORTER_REFERENCES",
322 #ifdef SQLITE_ENABLE_SQLLOG
325 #ifdef SQLITE_ENABLE_STAT4
328 #ifdef SQLITE_ENABLE_STMTVTAB
331 #ifdef SQLITE_ENABLE_STMT_SCANSTATUS
332 "ENABLE_STMT_SCANSTATUS",
334 #ifdef SQLITE_ENABLE_TREETRACE
337 #ifdef SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
338 "ENABLE_UNKNOWN_SQL_FUNCTION",
340 #ifdef SQLITE_ENABLE_UNLOCK_NOTIFY
341 "ENABLE_UNLOCK_NOTIFY",
343 #ifdef SQLITE_ENABLE_UPDATE_DELETE_LIMIT
344 "ENABLE_UPDATE_DELETE_LIMIT",
346 #ifdef SQLITE_ENABLE_URI_00_ERROR
347 "ENABLE_URI_00_ERROR",
349 #ifdef SQLITE_ENABLE_VFSTRACE
352 #ifdef SQLITE_ENABLE_WHERETRACE
355 #ifdef SQLITE_ENABLE_ZIPVFS
358 #ifdef SQLITE_EXPLAIN_ESTIMATED_ROWS
359 "EXPLAIN_ESTIMATED_ROWS",
361 #ifdef SQLITE_EXTRA_AUTOEXT
362 "EXTRA_AUTOEXT=" CTIMEOPT_VAL(SQLITE_EXTRA_AUTOEXT
),
364 #ifdef SQLITE_EXTRA_IFNULLROW
367 #ifdef SQLITE_EXTRA_INIT
368 "EXTRA_INIT=" CTIMEOPT_VAL(SQLITE_EXTRA_INIT
),
370 #ifdef SQLITE_EXTRA_SHUTDOWN
371 "EXTRA_SHUTDOWN=" CTIMEOPT_VAL(SQLITE_EXTRA_SHUTDOWN
),
373 #ifdef SQLITE_FTS3_MAX_EXPR_DEPTH
374 "FTS3_MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_FTS3_MAX_EXPR_DEPTH
),
376 #ifdef SQLITE_FTS5_ENABLE_TEST_MI
377 "FTS5_ENABLE_TEST_MI",
379 #ifdef SQLITE_FTS5_NO_WITHOUT_ROWID
380 "FTS5_NO_WITHOUT_ROWID",
382 /* BEGIN SQLCIPHER */
387 #if HAVE_ISNAN || SQLITE_HAVE_ISNAN
390 #ifdef SQLITE_HOMEGROWN_RECURSIVE_MUTEX
391 # if SQLITE_HOMEGROWN_RECURSIVE_MUTEX != 1
392 "HOMEGROWN_RECURSIVE_MUTEX=" CTIMEOPT_VAL(SQLITE_HOMEGROWN_RECURSIVE_MUTEX
),
395 #ifdef SQLITE_IGNORE_AFP_LOCK_ERRORS
396 "IGNORE_AFP_LOCK_ERRORS",
398 #ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS
399 "IGNORE_FLOCK_LOCK_ERRORS",
401 #ifdef SQLITE_INLINE_MEMCPY
404 #ifdef SQLITE_INT64_TYPE
407 #ifdef SQLITE_INTEGRITY_CHECK_ERROR_MAX
408 "INTEGRITY_CHECK_ERROR_MAX=" CTIMEOPT_VAL(SQLITE_INTEGRITY_CHECK_ERROR_MAX
),
410 #ifdef SQLITE_LEGACY_JSON_VALID
413 #ifdef SQLITE_LIKE_DOESNT_MATCH_BLOBS
414 "LIKE_DOESNT_MATCH_BLOBS",
416 #ifdef SQLITE_LOCK_TRACE
419 #ifdef SQLITE_LOG_CACHE_SPILL
422 #ifdef SQLITE_MALLOC_SOFT_LIMIT
423 "MALLOC_SOFT_LIMIT=" CTIMEOPT_VAL(SQLITE_MALLOC_SOFT_LIMIT
),
425 #ifdef SQLITE_MAX_ATTACHED
426 "MAX_ATTACHED=" CTIMEOPT_VAL(SQLITE_MAX_ATTACHED
),
428 #ifdef SQLITE_MAX_COLUMN
429 "MAX_COLUMN=" CTIMEOPT_VAL(SQLITE_MAX_COLUMN
),
431 #ifdef SQLITE_MAX_COMPOUND_SELECT
432 "MAX_COMPOUND_SELECT=" CTIMEOPT_VAL(SQLITE_MAX_COMPOUND_SELECT
),
434 #ifdef SQLITE_MAX_DEFAULT_PAGE_SIZE
435 "MAX_DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_DEFAULT_PAGE_SIZE
),
437 #ifdef SQLITE_MAX_EXPR_DEPTH
438 "MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_EXPR_DEPTH
),
440 #ifdef SQLITE_MAX_FUNCTION_ARG
441 "MAX_FUNCTION_ARG=" CTIMEOPT_VAL(SQLITE_MAX_FUNCTION_ARG
),
443 #ifdef SQLITE_MAX_LENGTH
444 "MAX_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LENGTH
),
446 #ifdef SQLITE_MAX_LIKE_PATTERN_LENGTH
447 "MAX_LIKE_PATTERN_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LIKE_PATTERN_LENGTH
),
449 #ifdef SQLITE_MAX_MEMORY
450 "MAX_MEMORY=" CTIMEOPT_VAL(SQLITE_MAX_MEMORY
),
452 #ifdef SQLITE_MAX_MMAP_SIZE
453 "MAX_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE
),
455 #ifdef SQLITE_MAX_MMAP_SIZE_
456 "MAX_MMAP_SIZE_=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE_
),
458 #ifdef SQLITE_MAX_PAGE_COUNT
459 "MAX_PAGE_COUNT=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_COUNT
),
461 #ifdef SQLITE_MAX_PAGE_SIZE
462 "MAX_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_SIZE
),
464 #ifdef SQLITE_MAX_SCHEMA_RETRY
465 "MAX_SCHEMA_RETRY=" CTIMEOPT_VAL(SQLITE_MAX_SCHEMA_RETRY
),
467 #ifdef SQLITE_MAX_SQL_LENGTH
468 "MAX_SQL_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_SQL_LENGTH
),
470 #ifdef SQLITE_MAX_TRIGGER_DEPTH
471 "MAX_TRIGGER_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_TRIGGER_DEPTH
),
473 #ifdef SQLITE_MAX_VARIABLE_NUMBER
474 "MAX_VARIABLE_NUMBER=" CTIMEOPT_VAL(SQLITE_MAX_VARIABLE_NUMBER
),
476 #ifdef SQLITE_MAX_VDBE_OP
477 "MAX_VDBE_OP=" CTIMEOPT_VAL(SQLITE_MAX_VDBE_OP
),
479 #ifdef SQLITE_MAX_WORKER_THREADS
480 "MAX_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_MAX_WORKER_THREADS
),
482 #ifdef SQLITE_MEMDEBUG
485 #ifdef SQLITE_MIXED_ENDIAN_64BIT_FLOAT
486 "MIXED_ENDIAN_64BIT_FLOAT",
488 #ifdef SQLITE_MMAP_READWRITE
491 #ifdef SQLITE_MUTEX_NOOP
494 #ifdef SQLITE_MUTEX_OMIT
497 #ifdef SQLITE_MUTEX_PTHREADS
500 #ifdef SQLITE_MUTEX_W32
503 #ifdef SQLITE_NEED_ERR_NAME
506 #ifdef SQLITE_NO_SYNC
509 #ifdef SQLITE_OMIT_ALTERTABLE
512 #ifdef SQLITE_OMIT_ANALYZE
515 #ifdef SQLITE_OMIT_ATTACH
518 #ifdef SQLITE_OMIT_AUTHORIZATION
519 "OMIT_AUTHORIZATION",
521 #ifdef SQLITE_OMIT_AUTOINCREMENT
522 "OMIT_AUTOINCREMENT",
524 #ifdef SQLITE_OMIT_AUTOINIT
527 #ifdef SQLITE_OMIT_AUTOMATIC_INDEX
528 "OMIT_AUTOMATIC_INDEX",
530 #ifdef SQLITE_OMIT_AUTORESET
533 #ifdef SQLITE_OMIT_AUTOVACUUM
536 #ifdef SQLITE_OMIT_BETWEEN_OPTIMIZATION
537 "OMIT_BETWEEN_OPTIMIZATION",
539 #ifdef SQLITE_OMIT_BLOB_LITERAL
542 #ifdef SQLITE_OMIT_CAST
545 #ifdef SQLITE_OMIT_CHECK
548 #ifdef SQLITE_OMIT_COMPLETE
551 #ifdef SQLITE_OMIT_COMPOUND_SELECT
552 "OMIT_COMPOUND_SELECT",
554 #ifdef SQLITE_OMIT_CONFLICT_CLAUSE
555 "OMIT_CONFLICT_CLAUSE",
557 #ifdef SQLITE_OMIT_CTE
560 #if defined(SQLITE_OMIT_DATETIME_FUNCS) || defined(SQLITE_OMIT_FLOATING_POINT)
561 "OMIT_DATETIME_FUNCS",
563 #ifdef SQLITE_OMIT_DECLTYPE
566 #ifdef SQLITE_OMIT_DEPRECATED
569 #ifdef SQLITE_OMIT_DESERIALIZE
572 #ifdef SQLITE_OMIT_DISKIO
575 #ifdef SQLITE_OMIT_EXPLAIN
578 #ifdef SQLITE_OMIT_FLAG_PRAGMAS
581 #ifdef SQLITE_OMIT_FLOATING_POINT
582 "OMIT_FLOATING_POINT",
584 #ifdef SQLITE_OMIT_FOREIGN_KEY
587 #ifdef SQLITE_OMIT_GET_TABLE
590 #ifdef SQLITE_OMIT_HEX_INTEGER
593 #ifdef SQLITE_OMIT_INCRBLOB
596 #ifdef SQLITE_OMIT_INTEGRITY_CHECK
597 "OMIT_INTEGRITY_CHECK",
599 #ifdef SQLITE_OMIT_INTROSPECTION_PRAGMAS
600 "OMIT_INTROSPECTION_PRAGMAS",
602 #ifdef SQLITE_OMIT_JSON
605 #ifdef SQLITE_OMIT_LIKE_OPTIMIZATION
606 "OMIT_LIKE_OPTIMIZATION",
608 #ifdef SQLITE_OMIT_LOAD_EXTENSION
609 "OMIT_LOAD_EXTENSION",
611 #ifdef SQLITE_OMIT_LOCALTIME
614 #ifdef SQLITE_OMIT_LOOKASIDE
617 #ifdef SQLITE_OMIT_MEMORYDB
620 #ifdef SQLITE_OMIT_OR_OPTIMIZATION
621 "OMIT_OR_OPTIMIZATION",
623 #ifdef SQLITE_OMIT_PAGER_PRAGMAS
624 "OMIT_PAGER_PRAGMAS",
626 #ifdef SQLITE_OMIT_PARSER_TRACE
629 #ifdef SQLITE_OMIT_POPEN
632 #ifdef SQLITE_OMIT_PRAGMA
635 #ifdef SQLITE_OMIT_PROGRESS_CALLBACK
636 "OMIT_PROGRESS_CALLBACK",
638 #ifdef SQLITE_OMIT_QUICKBALANCE
641 #ifdef SQLITE_OMIT_REINDEX
644 #ifdef SQLITE_OMIT_SCHEMA_PRAGMAS
645 "OMIT_SCHEMA_PRAGMAS",
647 #ifdef SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS
648 "OMIT_SCHEMA_VERSION_PRAGMAS",
650 #ifdef SQLITE_OMIT_SEH
653 #ifdef SQLITE_OMIT_SHARED_CACHE
656 #ifdef SQLITE_OMIT_SHUTDOWN_DIRECTORIES
657 "OMIT_SHUTDOWN_DIRECTORIES",
659 #ifdef SQLITE_OMIT_SUBQUERY
662 #ifdef SQLITE_OMIT_TCL_VARIABLE
665 #ifdef SQLITE_OMIT_TEMPDB
668 #ifdef SQLITE_OMIT_TEST_CONTROL
671 #ifdef SQLITE_OMIT_TRACE
672 # if SQLITE_OMIT_TRACE != 1
673 "OMIT_TRACE=" CTIMEOPT_VAL(SQLITE_OMIT_TRACE
),
676 #ifdef SQLITE_OMIT_TRIGGER
679 #ifdef SQLITE_OMIT_TRUNCATE_OPTIMIZATION
680 "OMIT_TRUNCATE_OPTIMIZATION",
682 #ifdef SQLITE_OMIT_UTF16
685 #ifdef SQLITE_OMIT_VACUUM
688 #ifdef SQLITE_OMIT_VIEW
691 #ifdef SQLITE_OMIT_VIRTUALTABLE
694 #ifdef SQLITE_OMIT_WAL
697 #ifdef SQLITE_OMIT_WSD
700 #ifdef SQLITE_OMIT_XFER_OPT
703 #ifdef SQLITE_PERFORMANCE_TRACE
706 #ifdef SQLITE_POWERSAFE_OVERWRITE
707 # if SQLITE_POWERSAFE_OVERWRITE != 1
708 "POWERSAFE_OVERWRITE=" CTIMEOPT_VAL(SQLITE_POWERSAFE_OVERWRITE
),
711 #ifdef SQLITE_PREFER_PROXY_LOCKING
712 "PREFER_PROXY_LOCKING",
714 #ifdef SQLITE_PROXY_DEBUG
717 #ifdef SQLITE_REVERSE_UNORDERED_SELECTS
718 "REVERSE_UNORDERED_SELECTS",
720 #ifdef SQLITE_RTREE_INT_ONLY
723 #ifdef SQLITE_SECURE_DELETE
726 #ifdef SQLITE_SMALL_STACK
729 #ifdef SQLITE_SORTER_PMASZ
730 "SORTER_PMASZ=" CTIMEOPT_VAL(SQLITE_SORTER_PMASZ
),
732 #ifdef SQLITE_SOUNDEX
735 #ifdef SQLITE_STAT4_SAMPLES
736 "STAT4_SAMPLES=" CTIMEOPT_VAL(SQLITE_STAT4_SAMPLES
),
738 #ifdef SQLITE_STMTJRNL_SPILL
739 "STMTJRNL_SPILL=" CTIMEOPT_VAL(SQLITE_STMTJRNL_SPILL
),
741 #ifdef SQLITE_SUBSTR_COMPATIBILITY
742 "SUBSTR_COMPATIBILITY",
744 #if (!defined(SQLITE_WIN32_MALLOC) \
745 && !defined(SQLITE_ZERO_MALLOC) \
746 && !defined(SQLITE_MEMDEBUG) \
747 ) || defined(SQLITE_SYSTEM_MALLOC)
753 #ifdef SQLITE_TEMP_STORE
754 "TEMP_STORE=" CTIMEOPT_VAL(SQLITE_TEMP_STORE
),
759 #if defined(SQLITE_THREADSAFE)
760 "THREADSAFE=" CTIMEOPT_VAL(SQLITE_THREADSAFE
),
761 #elif defined(THREADSAFE)
762 "THREADSAFE=" CTIMEOPT_VAL(THREADSAFE
),
766 #ifdef SQLITE_UNLINK_AFTER_CLOSE
767 "UNLINK_AFTER_CLOSE",
769 #ifdef SQLITE_UNTESTABLE
772 #ifdef SQLITE_USER_AUTHENTICATION
773 "USER_AUTHENTICATION",
775 #ifdef SQLITE_USE_ALLOCA
778 #ifdef SQLITE_USE_FCNTL_TRACE
781 #ifdef SQLITE_USE_URI
784 #ifdef SQLITE_VDBE_COVERAGE
787 #ifdef SQLITE_WIN32_MALLOC
790 #ifdef SQLITE_ZERO_MALLOC
796 const char **sqlite3CompileOptions(int *pnOpt
){
797 *pnOpt
= sizeof(sqlite3azCompileOpt
) / sizeof(sqlite3azCompileOpt
[0]);
798 return (const char**)sqlite3azCompileOpt
;
801 #endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */