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 #if HAVE_ISNAN || SQLITE_HAVE_ISNAN
385 #ifdef SQLITE_HOMEGROWN_RECURSIVE_MUTEX
386 # if SQLITE_HOMEGROWN_RECURSIVE_MUTEX != 1
387 "HOMEGROWN_RECURSIVE_MUTEX=" CTIMEOPT_VAL(SQLITE_HOMEGROWN_RECURSIVE_MUTEX
),
390 #ifdef SQLITE_IGNORE_AFP_LOCK_ERRORS
391 "IGNORE_AFP_LOCK_ERRORS",
393 #ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS
394 "IGNORE_FLOCK_LOCK_ERRORS",
396 #ifdef SQLITE_INLINE_MEMCPY
399 #ifdef SQLITE_INT64_TYPE
402 #ifdef SQLITE_INTEGRITY_CHECK_ERROR_MAX
403 "INTEGRITY_CHECK_ERROR_MAX=" CTIMEOPT_VAL(SQLITE_INTEGRITY_CHECK_ERROR_MAX
),
405 #ifdef SQLITE_LEGACY_JSON_VALID
408 #ifdef SQLITE_LIKE_DOESNT_MATCH_BLOBS
409 "LIKE_DOESNT_MATCH_BLOBS",
411 #ifdef SQLITE_LOCK_TRACE
414 #ifdef SQLITE_LOG_CACHE_SPILL
417 #ifdef SQLITE_MALLOC_SOFT_LIMIT
418 "MALLOC_SOFT_LIMIT=" CTIMEOPT_VAL(SQLITE_MALLOC_SOFT_LIMIT
),
420 #ifdef SQLITE_MAX_ATTACHED
421 "MAX_ATTACHED=" CTIMEOPT_VAL(SQLITE_MAX_ATTACHED
),
423 #ifdef SQLITE_MAX_COLUMN
424 "MAX_COLUMN=" CTIMEOPT_VAL(SQLITE_MAX_COLUMN
),
426 #ifdef SQLITE_MAX_COMPOUND_SELECT
427 "MAX_COMPOUND_SELECT=" CTIMEOPT_VAL(SQLITE_MAX_COMPOUND_SELECT
),
429 #ifdef SQLITE_MAX_DEFAULT_PAGE_SIZE
430 "MAX_DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_DEFAULT_PAGE_SIZE
),
432 #ifdef SQLITE_MAX_EXPR_DEPTH
433 "MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_EXPR_DEPTH
),
435 #ifdef SQLITE_MAX_FUNCTION_ARG
436 "MAX_FUNCTION_ARG=" CTIMEOPT_VAL(SQLITE_MAX_FUNCTION_ARG
),
438 #ifdef SQLITE_MAX_LENGTH
439 "MAX_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LENGTH
),
441 #ifdef SQLITE_MAX_LIKE_PATTERN_LENGTH
442 "MAX_LIKE_PATTERN_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LIKE_PATTERN_LENGTH
),
444 #ifdef SQLITE_MAX_MEMORY
445 "MAX_MEMORY=" CTIMEOPT_VAL(SQLITE_MAX_MEMORY
),
447 #ifdef SQLITE_MAX_MMAP_SIZE
448 "MAX_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE
),
450 #ifdef SQLITE_MAX_MMAP_SIZE_
451 "MAX_MMAP_SIZE_=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE_
),
453 #ifdef SQLITE_MAX_PAGE_COUNT
454 "MAX_PAGE_COUNT=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_COUNT
),
456 #ifdef SQLITE_MAX_PAGE_SIZE
457 "MAX_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_SIZE
),
459 #ifdef SQLITE_MAX_SCHEMA_RETRY
460 "MAX_SCHEMA_RETRY=" CTIMEOPT_VAL(SQLITE_MAX_SCHEMA_RETRY
),
462 #ifdef SQLITE_MAX_SQL_LENGTH
463 "MAX_SQL_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_SQL_LENGTH
),
465 #ifdef SQLITE_MAX_TRIGGER_DEPTH
466 "MAX_TRIGGER_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_TRIGGER_DEPTH
),
468 #ifdef SQLITE_MAX_VARIABLE_NUMBER
469 "MAX_VARIABLE_NUMBER=" CTIMEOPT_VAL(SQLITE_MAX_VARIABLE_NUMBER
),
471 #ifdef SQLITE_MAX_VDBE_OP
472 "MAX_VDBE_OP=" CTIMEOPT_VAL(SQLITE_MAX_VDBE_OP
),
474 #ifdef SQLITE_MAX_WORKER_THREADS
475 "MAX_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_MAX_WORKER_THREADS
),
477 #ifdef SQLITE_MEMDEBUG
480 #ifdef SQLITE_MIXED_ENDIAN_64BIT_FLOAT
481 "MIXED_ENDIAN_64BIT_FLOAT",
483 #ifdef SQLITE_MMAP_READWRITE
486 #ifdef SQLITE_MUTEX_NOOP
489 #ifdef SQLITE_MUTEX_OMIT
492 #ifdef SQLITE_MUTEX_PTHREADS
495 #ifdef SQLITE_MUTEX_W32
498 #ifdef SQLITE_NEED_ERR_NAME
501 #ifdef SQLITE_NO_SYNC
504 #ifdef SQLITE_OMIT_ALTERTABLE
507 #ifdef SQLITE_OMIT_ANALYZE
510 #ifdef SQLITE_OMIT_ATTACH
513 #ifdef SQLITE_OMIT_AUTHORIZATION
514 "OMIT_AUTHORIZATION",
516 #ifdef SQLITE_OMIT_AUTOINCREMENT
517 "OMIT_AUTOINCREMENT",
519 #ifdef SQLITE_OMIT_AUTOINIT
522 #ifdef SQLITE_OMIT_AUTOMATIC_INDEX
523 "OMIT_AUTOMATIC_INDEX",
525 #ifdef SQLITE_OMIT_AUTORESET
528 #ifdef SQLITE_OMIT_AUTOVACUUM
531 #ifdef SQLITE_OMIT_BETWEEN_OPTIMIZATION
532 "OMIT_BETWEEN_OPTIMIZATION",
534 #ifdef SQLITE_OMIT_BLOB_LITERAL
537 #ifdef SQLITE_OMIT_CAST
540 #ifdef SQLITE_OMIT_CHECK
543 #ifdef SQLITE_OMIT_COMPLETE
546 #ifdef SQLITE_OMIT_COMPOUND_SELECT
547 "OMIT_COMPOUND_SELECT",
549 #ifdef SQLITE_OMIT_CONFLICT_CLAUSE
550 "OMIT_CONFLICT_CLAUSE",
552 #ifdef SQLITE_OMIT_CTE
555 #if defined(SQLITE_OMIT_DATETIME_FUNCS) || defined(SQLITE_OMIT_FLOATING_POINT)
556 "OMIT_DATETIME_FUNCS",
558 #ifdef SQLITE_OMIT_DECLTYPE
561 #ifdef SQLITE_OMIT_DEPRECATED
564 #ifdef SQLITE_OMIT_DESERIALIZE
567 #ifdef SQLITE_OMIT_DISKIO
570 #ifdef SQLITE_OMIT_EXPLAIN
573 #ifdef SQLITE_OMIT_FLAG_PRAGMAS
576 #ifdef SQLITE_OMIT_FLOATING_POINT
577 "OMIT_FLOATING_POINT",
579 #ifdef SQLITE_OMIT_FOREIGN_KEY
582 #ifdef SQLITE_OMIT_GET_TABLE
585 #ifdef SQLITE_OMIT_HEX_INTEGER
588 #ifdef SQLITE_OMIT_INCRBLOB
591 #ifdef SQLITE_OMIT_INTEGRITY_CHECK
592 "OMIT_INTEGRITY_CHECK",
594 #ifdef SQLITE_OMIT_INTROSPECTION_PRAGMAS
595 "OMIT_INTROSPECTION_PRAGMAS",
597 #ifdef SQLITE_OMIT_JSON
600 #ifdef SQLITE_OMIT_LIKE_OPTIMIZATION
601 "OMIT_LIKE_OPTIMIZATION",
603 #ifdef SQLITE_OMIT_LOAD_EXTENSION
604 "OMIT_LOAD_EXTENSION",
606 #ifdef SQLITE_OMIT_LOCALTIME
609 #ifdef SQLITE_OMIT_LOOKASIDE
612 #ifdef SQLITE_OMIT_MEMORYDB
615 #ifdef SQLITE_OMIT_OR_OPTIMIZATION
616 "OMIT_OR_OPTIMIZATION",
618 #ifdef SQLITE_OMIT_PAGER_PRAGMAS
619 "OMIT_PAGER_PRAGMAS",
621 #ifdef SQLITE_OMIT_PARSER_TRACE
624 #ifdef SQLITE_OMIT_POPEN
627 #ifdef SQLITE_OMIT_PRAGMA
630 #ifdef SQLITE_OMIT_PROGRESS_CALLBACK
631 "OMIT_PROGRESS_CALLBACK",
633 #ifdef SQLITE_OMIT_QUICKBALANCE
636 #ifdef SQLITE_OMIT_REINDEX
639 #ifdef SQLITE_OMIT_SCHEMA_PRAGMAS
640 "OMIT_SCHEMA_PRAGMAS",
642 #ifdef SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS
643 "OMIT_SCHEMA_VERSION_PRAGMAS",
645 #ifdef SQLITE_OMIT_SEH
648 #ifdef SQLITE_OMIT_SHARED_CACHE
651 #ifdef SQLITE_OMIT_SHUTDOWN_DIRECTORIES
652 "OMIT_SHUTDOWN_DIRECTORIES",
654 #ifdef SQLITE_OMIT_SUBQUERY
657 #ifdef SQLITE_OMIT_TCL_VARIABLE
660 #ifdef SQLITE_OMIT_TEMPDB
663 #ifdef SQLITE_OMIT_TEST_CONTROL
666 #ifdef SQLITE_OMIT_TRACE
667 # if SQLITE_OMIT_TRACE != 1
668 "OMIT_TRACE=" CTIMEOPT_VAL(SQLITE_OMIT_TRACE
),
671 #ifdef SQLITE_OMIT_TRIGGER
674 #ifdef SQLITE_OMIT_TRUNCATE_OPTIMIZATION
675 "OMIT_TRUNCATE_OPTIMIZATION",
677 #ifdef SQLITE_OMIT_UTF16
680 #ifdef SQLITE_OMIT_VACUUM
683 #ifdef SQLITE_OMIT_VIEW
686 #ifdef SQLITE_OMIT_VIRTUALTABLE
689 #ifdef SQLITE_OMIT_WAL
692 #ifdef SQLITE_OMIT_WSD
695 #ifdef SQLITE_OMIT_XFER_OPT
698 #ifdef SQLITE_PERFORMANCE_TRACE
701 #ifdef SQLITE_POWERSAFE_OVERWRITE
702 # if SQLITE_POWERSAFE_OVERWRITE != 1
703 "POWERSAFE_OVERWRITE=" CTIMEOPT_VAL(SQLITE_POWERSAFE_OVERWRITE
),
706 #ifdef SQLITE_PREFER_PROXY_LOCKING
707 "PREFER_PROXY_LOCKING",
709 #ifdef SQLITE_PROXY_DEBUG
712 #ifdef SQLITE_REVERSE_UNORDERED_SELECTS
713 "REVERSE_UNORDERED_SELECTS",
715 #ifdef SQLITE_RTREE_INT_ONLY
718 #ifdef SQLITE_SECURE_DELETE
721 #ifdef SQLITE_SMALL_STACK
724 #ifdef SQLITE_SORTER_PMASZ
725 "SORTER_PMASZ=" CTIMEOPT_VAL(SQLITE_SORTER_PMASZ
),
727 #ifdef SQLITE_SOUNDEX
730 #ifdef SQLITE_STAT4_SAMPLES
731 "STAT4_SAMPLES=" CTIMEOPT_VAL(SQLITE_STAT4_SAMPLES
),
733 #ifdef SQLITE_STMTJRNL_SPILL
734 "STMTJRNL_SPILL=" CTIMEOPT_VAL(SQLITE_STMTJRNL_SPILL
),
736 #ifdef SQLITE_SUBSTR_COMPATIBILITY
737 "SUBSTR_COMPATIBILITY",
739 #if (!defined(SQLITE_WIN32_MALLOC) \
740 && !defined(SQLITE_ZERO_MALLOC) \
741 && !defined(SQLITE_MEMDEBUG) \
742 ) || defined(SQLITE_SYSTEM_MALLOC)
748 #ifdef SQLITE_TEMP_STORE
749 "TEMP_STORE=" CTIMEOPT_VAL(SQLITE_TEMP_STORE
),
754 #if defined(SQLITE_THREADSAFE)
755 "THREADSAFE=" CTIMEOPT_VAL(SQLITE_THREADSAFE
),
756 #elif defined(THREADSAFE)
757 "THREADSAFE=" CTIMEOPT_VAL(THREADSAFE
),
761 #ifdef SQLITE_UNLINK_AFTER_CLOSE
762 "UNLINK_AFTER_CLOSE",
764 #ifdef SQLITE_UNTESTABLE
767 #ifdef SQLITE_USER_AUTHENTICATION
768 "USER_AUTHENTICATION",
770 #ifdef SQLITE_USE_ALLOCA
773 #ifdef SQLITE_USE_FCNTL_TRACE
776 #ifdef SQLITE_USE_URI
779 #ifdef SQLITE_VDBE_COVERAGE
782 #ifdef SQLITE_WIN32_MALLOC
785 #ifdef SQLITE_ZERO_MALLOC
791 const char **sqlite3CompileOptions(int *pnOpt
){
792 *pnOpt
= sizeof(sqlite3azCompileOpt
) / sizeof(sqlite3azCompileOpt
[0]);
793 return (const char**)sqlite3azCompileOpt
;
796 #endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */