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_URI_AUTHORITY
69 "ALLOW_URI_AUTHORITY",
71 #ifdef SQLITE_ATOMIC_INTRINSICS
72 "ATOMIC_INTRINSICS=" CTIMEOPT_VAL(SQLITE_ATOMIC_INTRINSICS
),
74 #ifdef SQLITE_BITMASK_TYPE
75 "BITMASK_TYPE=" CTIMEOPT_VAL(SQLITE_BITMASK_TYPE
),
77 #ifdef SQLITE_BUG_COMPATIBLE_20160819
78 "BUG_COMPATIBLE_20160819",
80 #ifdef SQLITE_CASE_SENSITIVE_LIKE
81 "CASE_SENSITIVE_LIKE",
83 #ifdef SQLITE_CHECK_PAGES
86 #if defined(__clang__) && defined(__clang_major__)
87 "COMPILER=clang-" CTIMEOPT_VAL(__clang_major__
) "."
88 CTIMEOPT_VAL(__clang_minor__
) "."
89 CTIMEOPT_VAL(__clang_patchlevel__
),
90 #elif defined(_MSC_VER)
91 "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER
),
92 #elif defined(__GNUC__) && defined(__VERSION__)
93 "COMPILER=gcc-" __VERSION__
,
95 #ifdef SQLITE_COVERAGE_TEST
101 #ifdef SQLITE_DEFAULT_AUTOMATIC_INDEX
102 "DEFAULT_AUTOMATIC_INDEX",
104 #ifdef SQLITE_DEFAULT_AUTOVACUUM
105 "DEFAULT_AUTOVACUUM",
107 #ifdef SQLITE_DEFAULT_CACHE_SIZE
108 "DEFAULT_CACHE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_CACHE_SIZE
),
110 #ifdef SQLITE_DEFAULT_CKPTFULLFSYNC
111 "DEFAULT_CKPTFULLFSYNC",
113 #ifdef SQLITE_DEFAULT_FILE_FORMAT
114 "DEFAULT_FILE_FORMAT=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_FORMAT
),
116 #ifdef SQLITE_DEFAULT_FILE_PERMISSIONS
117 "DEFAULT_FILE_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_PERMISSIONS
),
119 #ifdef SQLITE_DEFAULT_FOREIGN_KEYS
120 "DEFAULT_FOREIGN_KEYS",
122 #ifdef SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT
123 "DEFAULT_JOURNAL_SIZE_LIMIT=" CTIMEOPT_VAL(SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT
),
125 #ifdef SQLITE_DEFAULT_LOCKING_MODE
126 "DEFAULT_LOCKING_MODE=" CTIMEOPT_VAL(SQLITE_DEFAULT_LOCKING_MODE
),
128 #ifdef SQLITE_DEFAULT_LOOKASIDE
129 "DEFAULT_LOOKASIDE=" CTIMEOPT_VAL2(SQLITE_DEFAULT_LOOKASIDE
),
131 #ifdef SQLITE_DEFAULT_MEMSTATUS
132 # if SQLITE_DEFAULT_MEMSTATUS != 1
133 "DEFAULT_MEMSTATUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_MEMSTATUS
),
136 #ifdef SQLITE_DEFAULT_MMAP_SIZE
137 "DEFAULT_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_MMAP_SIZE
),
139 #ifdef SQLITE_DEFAULT_PAGE_SIZE
140 "DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_PAGE_SIZE
),
142 #ifdef SQLITE_DEFAULT_PCACHE_INITSZ
143 "DEFAULT_PCACHE_INITSZ=" CTIMEOPT_VAL(SQLITE_DEFAULT_PCACHE_INITSZ
),
145 #ifdef SQLITE_DEFAULT_PROXYDIR_PERMISSIONS
146 "DEFAULT_PROXYDIR_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_PROXYDIR_PERMISSIONS
),
148 #ifdef SQLITE_DEFAULT_RECURSIVE_TRIGGERS
149 "DEFAULT_RECURSIVE_TRIGGERS",
151 #ifdef SQLITE_DEFAULT_ROWEST
152 "DEFAULT_ROWEST=" CTIMEOPT_VAL(SQLITE_DEFAULT_ROWEST
),
154 #ifdef SQLITE_DEFAULT_SECTOR_SIZE
155 "DEFAULT_SECTOR_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_SECTOR_SIZE
),
157 #ifdef SQLITE_DEFAULT_SYNCHRONOUS
158 "DEFAULT_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_SYNCHRONOUS
),
160 #ifdef SQLITE_DEFAULT_WAL_AUTOCHECKPOINT
161 "DEFAULT_WAL_AUTOCHECKPOINT=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_AUTOCHECKPOINT
),
163 #ifdef SQLITE_DEFAULT_WAL_SYNCHRONOUS
164 "DEFAULT_WAL_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_SYNCHRONOUS
),
166 #ifdef SQLITE_DEFAULT_WORKER_THREADS
167 "DEFAULT_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WORKER_THREADS
),
169 #ifdef SQLITE_DIRECT_OVERFLOW_READ
170 "DIRECT_OVERFLOW_READ",
172 #ifdef SQLITE_DISABLE_DIRSYNC
175 #ifdef SQLITE_DISABLE_FTS3_UNICODE
176 "DISABLE_FTS3_UNICODE",
178 #ifdef SQLITE_DISABLE_FTS4_DEFERRED
179 "DISABLE_FTS4_DEFERRED",
181 #ifdef SQLITE_DISABLE_INTRINSIC
184 #ifdef SQLITE_DISABLE_LFS
187 #ifdef SQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS
188 "DISABLE_PAGECACHE_OVERFLOW_STATS",
190 #ifdef SQLITE_DISABLE_SKIPAHEAD_DISTINCT
191 "DISABLE_SKIPAHEAD_DISTINCT",
194 "DQS=" CTIMEOPT_VAL(SQLITE_DQS
),
196 #ifdef SQLITE_ENABLE_8_3_NAMES
197 "ENABLE_8_3_NAMES=" CTIMEOPT_VAL(SQLITE_ENABLE_8_3_NAMES
),
199 #ifdef SQLITE_ENABLE_API_ARMOR
202 #ifdef SQLITE_ENABLE_ATOMIC_WRITE
203 "ENABLE_ATOMIC_WRITE",
205 #ifdef SQLITE_ENABLE_BATCH_ATOMIC_WRITE
206 "ENABLE_BATCH_ATOMIC_WRITE",
208 #ifdef SQLITE_ENABLE_BYTECODE_VTAB
209 "ENABLE_BYTECODE_VTAB",
211 #ifdef SQLITE_ENABLE_CEROD
212 "ENABLE_CEROD=" CTIMEOPT_VAL(SQLITE_ENABLE_CEROD
),
214 #ifdef SQLITE_ENABLE_COLUMN_METADATA
215 "ENABLE_COLUMN_METADATA",
217 #ifdef SQLITE_ENABLE_COLUMN_USED_MASK
218 "ENABLE_COLUMN_USED_MASK",
220 #ifdef SQLITE_ENABLE_COSTMULT
223 #ifdef SQLITE_ENABLE_CURSOR_HINTS
224 "ENABLE_CURSOR_HINTS",
226 #ifdef SQLITE_ENABLE_DBPAGE_VTAB
227 "ENABLE_DBPAGE_VTAB",
229 #ifdef SQLITE_ENABLE_DBSTAT_VTAB
230 "ENABLE_DBSTAT_VTAB",
232 #ifdef SQLITE_ENABLE_EXPENSIVE_ASSERT
233 "ENABLE_EXPENSIVE_ASSERT",
235 #ifdef SQLITE_ENABLE_EXPLAIN_COMMENTS
236 "ENABLE_EXPLAIN_COMMENTS",
238 #ifdef SQLITE_ENABLE_FTS3
241 #ifdef SQLITE_ENABLE_FTS3_PARENTHESIS
242 "ENABLE_FTS3_PARENTHESIS",
244 #ifdef SQLITE_ENABLE_FTS3_TOKENIZER
245 "ENABLE_FTS3_TOKENIZER",
247 #ifdef SQLITE_ENABLE_FTS4
250 #ifdef SQLITE_ENABLE_FTS5
253 #ifdef SQLITE_ENABLE_GEOPOLY
256 #ifdef SQLITE_ENABLE_HIDDEN_COLUMNS
257 "ENABLE_HIDDEN_COLUMNS",
259 #ifdef SQLITE_ENABLE_ICU
262 #ifdef SQLITE_ENABLE_IOTRACE
265 #ifdef SQLITE_ENABLE_LOAD_EXTENSION
266 "ENABLE_LOAD_EXTENSION",
268 #ifdef SQLITE_ENABLE_LOCKING_STYLE
269 "ENABLE_LOCKING_STYLE=" CTIMEOPT_VAL(SQLITE_ENABLE_LOCKING_STYLE
),
271 #ifdef SQLITE_ENABLE_MATH_FUNCTIONS
272 "ENABLE_MATH_FUNCTIONS",
274 #ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT
275 "ENABLE_MEMORY_MANAGEMENT",
277 #ifdef SQLITE_ENABLE_MEMSYS3
280 #ifdef SQLITE_ENABLE_MEMSYS5
283 #ifdef SQLITE_ENABLE_MULTIPLEX
286 #ifdef SQLITE_ENABLE_NORMALIZE
289 #ifdef SQLITE_ENABLE_NULL_TRIM
292 #ifdef SQLITE_ENABLE_OFFSET_SQL_FUNC
293 "ENABLE_OFFSET_SQL_FUNC",
295 #ifdef SQLITE_ENABLE_OVERSIZE_CELL_CHECK
296 "ENABLE_OVERSIZE_CELL_CHECK",
298 #ifdef SQLITE_ENABLE_PREUPDATE_HOOK
299 "ENABLE_PREUPDATE_HOOK",
301 #ifdef SQLITE_ENABLE_QPSG
304 #ifdef SQLITE_ENABLE_RBU
307 #ifdef SQLITE_ENABLE_RTREE
310 #ifdef SQLITE_ENABLE_SESSION
313 #ifdef SQLITE_ENABLE_SNAPSHOT
316 #ifdef SQLITE_ENABLE_SORTER_REFERENCES
317 "ENABLE_SORTER_REFERENCES",
319 #ifdef SQLITE_ENABLE_SQLLOG
322 #ifdef SQLITE_ENABLE_STAT4
325 #ifdef SQLITE_ENABLE_STMTVTAB
328 #ifdef SQLITE_ENABLE_STMT_SCANSTATUS
329 "ENABLE_STMT_SCANSTATUS",
331 #ifdef SQLITE_ENABLE_TREETRACE
334 #ifdef SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
335 "ENABLE_UNKNOWN_SQL_FUNCTION",
337 #ifdef SQLITE_ENABLE_UNLOCK_NOTIFY
338 "ENABLE_UNLOCK_NOTIFY",
340 #ifdef SQLITE_ENABLE_UPDATE_DELETE_LIMIT
341 "ENABLE_UPDATE_DELETE_LIMIT",
343 #ifdef SQLITE_ENABLE_URI_00_ERROR
344 "ENABLE_URI_00_ERROR",
346 #ifdef SQLITE_ENABLE_VFSTRACE
349 #ifdef SQLITE_ENABLE_WHERETRACE
352 #ifdef SQLITE_ENABLE_ZIPVFS
355 #ifdef SQLITE_EXPLAIN_ESTIMATED_ROWS
356 "EXPLAIN_ESTIMATED_ROWS",
358 #ifdef SQLITE_EXTRA_AUTOEXT
359 "EXTRA_AUTOEXT=" CTIMEOPT_VAL(SQLITE_EXTRA_AUTOEXT
),
361 #ifdef SQLITE_EXTRA_IFNULLROW
364 #ifdef SQLITE_EXTRA_INIT
365 "EXTRA_INIT=" CTIMEOPT_VAL(SQLITE_EXTRA_INIT
),
367 #ifdef SQLITE_EXTRA_SHUTDOWN
368 "EXTRA_SHUTDOWN=" CTIMEOPT_VAL(SQLITE_EXTRA_SHUTDOWN
),
370 #ifdef SQLITE_FTS3_MAX_EXPR_DEPTH
371 "FTS3_MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_FTS3_MAX_EXPR_DEPTH
),
373 #ifdef SQLITE_FTS5_ENABLE_TEST_MI
374 "FTS5_ENABLE_TEST_MI",
376 #ifdef SQLITE_FTS5_NO_WITHOUT_ROWID
377 "FTS5_NO_WITHOUT_ROWID",
379 /* BEGIN SQLCIPHER */
384 #if HAVE_ISNAN || SQLITE_HAVE_ISNAN
387 #ifdef SQLITE_HOMEGROWN_RECURSIVE_MUTEX
388 # if SQLITE_HOMEGROWN_RECURSIVE_MUTEX != 1
389 "HOMEGROWN_RECURSIVE_MUTEX=" CTIMEOPT_VAL(SQLITE_HOMEGROWN_RECURSIVE_MUTEX
),
392 #ifdef SQLITE_IGNORE_AFP_LOCK_ERRORS
393 "IGNORE_AFP_LOCK_ERRORS",
395 #ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS
396 "IGNORE_FLOCK_LOCK_ERRORS",
398 #ifdef SQLITE_INLINE_MEMCPY
401 #ifdef SQLITE_INT64_TYPE
404 #ifdef SQLITE_INTEGRITY_CHECK_ERROR_MAX
405 "INTEGRITY_CHECK_ERROR_MAX=" CTIMEOPT_VAL(SQLITE_INTEGRITY_CHECK_ERROR_MAX
),
407 #ifdef SQLITE_LEGACY_JSON_VALID
410 #ifdef SQLITE_LIKE_DOESNT_MATCH_BLOBS
411 "LIKE_DOESNT_MATCH_BLOBS",
413 #ifdef SQLITE_LOCK_TRACE
416 #ifdef SQLITE_LOG_CACHE_SPILL
419 #ifdef SQLITE_MALLOC_SOFT_LIMIT
420 "MALLOC_SOFT_LIMIT=" CTIMEOPT_VAL(SQLITE_MALLOC_SOFT_LIMIT
),
422 #ifdef SQLITE_MAX_ATTACHED
423 "MAX_ATTACHED=" CTIMEOPT_VAL(SQLITE_MAX_ATTACHED
),
425 #ifdef SQLITE_MAX_COLUMN
426 "MAX_COLUMN=" CTIMEOPT_VAL(SQLITE_MAX_COLUMN
),
428 #ifdef SQLITE_MAX_COMPOUND_SELECT
429 "MAX_COMPOUND_SELECT=" CTIMEOPT_VAL(SQLITE_MAX_COMPOUND_SELECT
),
431 #ifdef SQLITE_MAX_DEFAULT_PAGE_SIZE
432 "MAX_DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_DEFAULT_PAGE_SIZE
),
434 #ifdef SQLITE_MAX_EXPR_DEPTH
435 "MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_EXPR_DEPTH
),
437 #ifdef SQLITE_MAX_FUNCTION_ARG
438 "MAX_FUNCTION_ARG=" CTIMEOPT_VAL(SQLITE_MAX_FUNCTION_ARG
),
440 #ifdef SQLITE_MAX_LENGTH
441 "MAX_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LENGTH
),
443 #ifdef SQLITE_MAX_LIKE_PATTERN_LENGTH
444 "MAX_LIKE_PATTERN_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LIKE_PATTERN_LENGTH
),
446 #ifdef SQLITE_MAX_MEMORY
447 "MAX_MEMORY=" CTIMEOPT_VAL(SQLITE_MAX_MEMORY
),
449 #ifdef SQLITE_MAX_MMAP_SIZE
450 "MAX_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE
),
452 #ifdef SQLITE_MAX_MMAP_SIZE_
453 "MAX_MMAP_SIZE_=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE_
),
455 #ifdef SQLITE_MAX_PAGE_COUNT
456 "MAX_PAGE_COUNT=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_COUNT
),
458 #ifdef SQLITE_MAX_PAGE_SIZE
459 "MAX_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_SIZE
),
461 #ifdef SQLITE_MAX_SCHEMA_RETRY
462 "MAX_SCHEMA_RETRY=" CTIMEOPT_VAL(SQLITE_MAX_SCHEMA_RETRY
),
464 #ifdef SQLITE_MAX_SQL_LENGTH
465 "MAX_SQL_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_SQL_LENGTH
),
467 #ifdef SQLITE_MAX_TRIGGER_DEPTH
468 "MAX_TRIGGER_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_TRIGGER_DEPTH
),
470 #ifdef SQLITE_MAX_VARIABLE_NUMBER
471 "MAX_VARIABLE_NUMBER=" CTIMEOPT_VAL(SQLITE_MAX_VARIABLE_NUMBER
),
473 #ifdef SQLITE_MAX_VDBE_OP
474 "MAX_VDBE_OP=" CTIMEOPT_VAL(SQLITE_MAX_VDBE_OP
),
476 #ifdef SQLITE_MAX_WORKER_THREADS
477 "MAX_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_MAX_WORKER_THREADS
),
479 #ifdef SQLITE_MEMDEBUG
482 #ifdef SQLITE_MIXED_ENDIAN_64BIT_FLOAT
483 "MIXED_ENDIAN_64BIT_FLOAT",
485 #ifdef SQLITE_MMAP_READWRITE
488 #ifdef SQLITE_MUTEX_NOOP
491 #ifdef SQLITE_MUTEX_OMIT
494 #ifdef SQLITE_MUTEX_PTHREADS
497 #ifdef SQLITE_MUTEX_W32
500 #ifdef SQLITE_NEED_ERR_NAME
503 #ifdef SQLITE_NO_SYNC
506 #ifdef SQLITE_OMIT_ALTERTABLE
509 #ifdef SQLITE_OMIT_ANALYZE
512 #ifdef SQLITE_OMIT_ATTACH
515 #ifdef SQLITE_OMIT_AUTHORIZATION
516 "OMIT_AUTHORIZATION",
518 #ifdef SQLITE_OMIT_AUTOINCREMENT
519 "OMIT_AUTOINCREMENT",
521 #ifdef SQLITE_OMIT_AUTOINIT
524 #ifdef SQLITE_OMIT_AUTOMATIC_INDEX
525 "OMIT_AUTOMATIC_INDEX",
527 #ifdef SQLITE_OMIT_AUTORESET
530 #ifdef SQLITE_OMIT_AUTOVACUUM
533 #ifdef SQLITE_OMIT_BETWEEN_OPTIMIZATION
534 "OMIT_BETWEEN_OPTIMIZATION",
536 #ifdef SQLITE_OMIT_BLOB_LITERAL
539 #ifdef SQLITE_OMIT_CAST
542 #ifdef SQLITE_OMIT_CHECK
545 #ifdef SQLITE_OMIT_COMPLETE
548 #ifdef SQLITE_OMIT_COMPOUND_SELECT
549 "OMIT_COMPOUND_SELECT",
551 #ifdef SQLITE_OMIT_CONFLICT_CLAUSE
552 "OMIT_CONFLICT_CLAUSE",
554 #ifdef SQLITE_OMIT_CTE
557 #if defined(SQLITE_OMIT_DATETIME_FUNCS) || defined(SQLITE_OMIT_FLOATING_POINT)
558 "OMIT_DATETIME_FUNCS",
560 #ifdef SQLITE_OMIT_DECLTYPE
563 #ifdef SQLITE_OMIT_DEPRECATED
566 #ifdef SQLITE_OMIT_DESERIALIZE
569 #ifdef SQLITE_OMIT_DISKIO
572 #ifdef SQLITE_OMIT_EXPLAIN
575 #ifdef SQLITE_OMIT_FLAG_PRAGMAS
578 #ifdef SQLITE_OMIT_FLOATING_POINT
579 "OMIT_FLOATING_POINT",
581 #ifdef SQLITE_OMIT_FOREIGN_KEY
584 #ifdef SQLITE_OMIT_GET_TABLE
587 #ifdef SQLITE_OMIT_HEX_INTEGER
590 #ifdef SQLITE_OMIT_INCRBLOB
593 #ifdef SQLITE_OMIT_INTEGRITY_CHECK
594 "OMIT_INTEGRITY_CHECK",
596 #ifdef SQLITE_OMIT_INTROSPECTION_PRAGMAS
597 "OMIT_INTROSPECTION_PRAGMAS",
599 #ifdef SQLITE_OMIT_JSON
602 #ifdef SQLITE_OMIT_LIKE_OPTIMIZATION
603 "OMIT_LIKE_OPTIMIZATION",
605 #ifdef SQLITE_OMIT_LOAD_EXTENSION
606 "OMIT_LOAD_EXTENSION",
608 #ifdef SQLITE_OMIT_LOCALTIME
611 #ifdef SQLITE_OMIT_LOOKASIDE
614 #ifdef SQLITE_OMIT_MEMORYDB
617 #ifdef SQLITE_OMIT_OR_OPTIMIZATION
618 "OMIT_OR_OPTIMIZATION",
620 #ifdef SQLITE_OMIT_PAGER_PRAGMAS
621 "OMIT_PAGER_PRAGMAS",
623 #ifdef SQLITE_OMIT_PARSER_TRACE
626 #ifdef SQLITE_OMIT_POPEN
629 #ifdef SQLITE_OMIT_PRAGMA
632 #ifdef SQLITE_OMIT_PROGRESS_CALLBACK
633 "OMIT_PROGRESS_CALLBACK",
635 #ifdef SQLITE_OMIT_QUICKBALANCE
638 #ifdef SQLITE_OMIT_REINDEX
641 #ifdef SQLITE_OMIT_SCHEMA_PRAGMAS
642 "OMIT_SCHEMA_PRAGMAS",
644 #ifdef SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS
645 "OMIT_SCHEMA_VERSION_PRAGMAS",
647 #ifdef SQLITE_OMIT_SEH
650 #ifdef SQLITE_OMIT_SHARED_CACHE
653 #ifdef SQLITE_OMIT_SHUTDOWN_DIRECTORIES
654 "OMIT_SHUTDOWN_DIRECTORIES",
656 #ifdef SQLITE_OMIT_SUBQUERY
659 #ifdef SQLITE_OMIT_TCL_VARIABLE
662 #ifdef SQLITE_OMIT_TEMPDB
665 #ifdef SQLITE_OMIT_TEST_CONTROL
668 #ifdef SQLITE_OMIT_TRACE
669 # if SQLITE_OMIT_TRACE != 1
670 "OMIT_TRACE=" CTIMEOPT_VAL(SQLITE_OMIT_TRACE
),
673 #ifdef SQLITE_OMIT_TRIGGER
676 #ifdef SQLITE_OMIT_TRUNCATE_OPTIMIZATION
677 "OMIT_TRUNCATE_OPTIMIZATION",
679 #ifdef SQLITE_OMIT_UTF16
682 #ifdef SQLITE_OMIT_VACUUM
685 #ifdef SQLITE_OMIT_VIEW
688 #ifdef SQLITE_OMIT_VIRTUALTABLE
691 #ifdef SQLITE_OMIT_WAL
694 #ifdef SQLITE_OMIT_WSD
697 #ifdef SQLITE_OMIT_XFER_OPT
700 #ifdef SQLITE_PERFORMANCE_TRACE
703 #ifdef SQLITE_POWERSAFE_OVERWRITE
704 # if SQLITE_POWERSAFE_OVERWRITE != 1
705 "POWERSAFE_OVERWRITE=" CTIMEOPT_VAL(SQLITE_POWERSAFE_OVERWRITE
),
708 #ifdef SQLITE_PREFER_PROXY_LOCKING
709 "PREFER_PROXY_LOCKING",
711 #ifdef SQLITE_PROXY_DEBUG
714 #ifdef SQLITE_REVERSE_UNORDERED_SELECTS
715 "REVERSE_UNORDERED_SELECTS",
717 #ifdef SQLITE_RTREE_INT_ONLY
720 #ifdef SQLITE_SECURE_DELETE
723 #ifdef SQLITE_SMALL_STACK
726 #ifdef SQLITE_SORTER_PMASZ
727 "SORTER_PMASZ=" CTIMEOPT_VAL(SQLITE_SORTER_PMASZ
),
729 #ifdef SQLITE_SOUNDEX
732 #ifdef SQLITE_STAT4_SAMPLES
733 "STAT4_SAMPLES=" CTIMEOPT_VAL(SQLITE_STAT4_SAMPLES
),
735 #ifdef SQLITE_STMTJRNL_SPILL
736 "STMTJRNL_SPILL=" CTIMEOPT_VAL(SQLITE_STMTJRNL_SPILL
),
738 #ifdef SQLITE_SUBSTR_COMPATIBILITY
739 "SUBSTR_COMPATIBILITY",
741 #if (!defined(SQLITE_WIN32_MALLOC) \
742 && !defined(SQLITE_ZERO_MALLOC) \
743 && !defined(SQLITE_MEMDEBUG) \
744 ) || defined(SQLITE_SYSTEM_MALLOC)
750 #ifdef SQLITE_TEMP_STORE
751 "TEMP_STORE=" CTIMEOPT_VAL(SQLITE_TEMP_STORE
),
756 #if defined(SQLITE_THREADSAFE)
757 "THREADSAFE=" CTIMEOPT_VAL(SQLITE_THREADSAFE
),
758 #elif defined(THREADSAFE)
759 "THREADSAFE=" CTIMEOPT_VAL(THREADSAFE
),
763 #ifdef SQLITE_UNLINK_AFTER_CLOSE
764 "UNLINK_AFTER_CLOSE",
766 #ifdef SQLITE_UNTESTABLE
769 #ifdef SQLITE_USER_AUTHENTICATION
770 "USER_AUTHENTICATION",
772 #ifdef SQLITE_USE_ALLOCA
775 #ifdef SQLITE_USE_FCNTL_TRACE
778 #ifdef SQLITE_USE_URI
781 #ifdef SQLITE_VDBE_COVERAGE
784 #ifdef SQLITE_WIN32_MALLOC
787 #ifdef SQLITE_ZERO_MALLOC
793 const char **sqlite3CompileOptions(int *pnOpt
){
794 *pnOpt
= sizeof(sqlite3azCompileOpt
) / sizeof(sqlite3azCompileOpt
[0]);
795 return (const char**)sqlite3azCompileOpt
;
798 #endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */