4 ** The author disclaims copyright to this source code. In place of
5 ** a legal notice, here is a blessing:
7 ** May you do good and not evil.
8 ** May you find forgiveness for yourself and forgive others.
9 ** May you share freely, never taking more than you give.
11 *************************************************************************
13 ** This file implements routines used to report what compile-time options
14 ** SQLite was built with.
17 #ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS
20 ** Include the configuration header output by 'configure' if we're using the
21 ** autoconf-based build
23 #if defined(_HAVE_SQLITE_CONFIG_H) && !defined(SQLITECONFIG_H)
25 #define SQLITECONFIG_H 1
28 /* These macros are provided to "stringify" the value of the define
29 ** for those options in which the value is meaningful. */
30 #define CTIMEOPT_VAL_(opt) #opt
31 #define CTIMEOPT_VAL(opt) CTIMEOPT_VAL_(opt)
34 ** An array of names of all compile-time options. This array should
37 ** This array looks large, but in a typical installation actually uses
38 ** only a handful of compile-time options, so most times this array is usually
39 ** rather short and uses little memory space.
41 static const char * const sqlite3azCompileOpt
[] = {
44 ** BEGIN CODE GENERATED BY tool/mkctime.tcl
46 #if SQLITE_32BIT_ROWID
49 #if SQLITE_4_BYTE_ALIGNED_MALLOC
50 "4_BYTE_ALIGNED_MALLOC",
52 #if SQLITE_64BIT_STATS
55 #if SQLITE_ALLOW_COVERING_INDEX_SCAN
56 "ALLOW_COVERING_INDEX_SCAN",
58 #if SQLITE_ALLOW_URI_AUTHORITY
59 "ALLOW_URI_AUTHORITY",
61 #ifdef SQLITE_BITMASK_TYPE
62 "BITMASK_TYPE=" CTIMEOPT_VAL(SQLITE_BITMASK_TYPE
),
64 #if SQLITE_BUG_COMPATIBLE_20160819
65 "BUG_COMPATIBLE_20160819",
67 #if SQLITE_CASE_SENSITIVE_LIKE
68 "CASE_SENSITIVE_LIKE",
70 #if SQLITE_CHECK_PAGES
73 #if defined(__clang__) && defined(__clang_major__)
74 "COMPILER=clang-" CTIMEOPT_VAL(__clang_major__
) "."
75 CTIMEOPT_VAL(__clang_minor__
) "."
76 CTIMEOPT_VAL(__clang_patchlevel__
),
77 #elif defined(_MSC_VER)
78 "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER
),
79 #elif defined(__GNUC__) && defined(__VERSION__)
80 "COMPILER=gcc-" __VERSION__
,
82 #if SQLITE_COVERAGE_TEST
88 #if SQLITE_DEFAULT_AUTOMATIC_INDEX
89 "DEFAULT_AUTOMATIC_INDEX",
91 #if SQLITE_DEFAULT_AUTOVACUUM
94 #ifdef SQLITE_DEFAULT_CACHE_SIZE
95 "DEFAULT_CACHE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_CACHE_SIZE
),
97 #if SQLITE_DEFAULT_CKPTFULLFSYNC
98 "DEFAULT_CKPTFULLFSYNC",
100 #ifdef SQLITE_DEFAULT_FILE_FORMAT
101 "DEFAULT_FILE_FORMAT=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_FORMAT
),
103 #ifdef SQLITE_DEFAULT_FILE_PERMISSIONS
104 "DEFAULT_FILE_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_PERMISSIONS
),
106 #if SQLITE_DEFAULT_FOREIGN_KEYS
107 "DEFAULT_FOREIGN_KEYS",
109 #ifdef SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT
110 "DEFAULT_JOURNAL_SIZE_LIMIT=" CTIMEOPT_VAL(SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT
),
112 #ifdef SQLITE_DEFAULT_LOCKING_MODE
113 "DEFAULT_LOCKING_MODE=" CTIMEOPT_VAL(SQLITE_DEFAULT_LOCKING_MODE
),
115 #ifdef SQLITE_DEFAULT_LOOKASIDE
116 "DEFAULT_LOOKASIDE=" CTIMEOPT_VAL(SQLITE_DEFAULT_LOOKASIDE
),
118 #if SQLITE_DEFAULT_MEMSTATUS
121 #ifdef SQLITE_DEFAULT_MMAP_SIZE
122 "DEFAULT_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_MMAP_SIZE
),
124 #ifdef SQLITE_DEFAULT_PAGE_SIZE
125 "DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_PAGE_SIZE
),
127 #ifdef SQLITE_DEFAULT_PCACHE_INITSZ
128 "DEFAULT_PCACHE_INITSZ=" CTIMEOPT_VAL(SQLITE_DEFAULT_PCACHE_INITSZ
),
130 #ifdef SQLITE_DEFAULT_PROXYDIR_PERMISSIONS
131 "DEFAULT_PROXYDIR_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_PROXYDIR_PERMISSIONS
),
133 #if SQLITE_DEFAULT_RECURSIVE_TRIGGERS
134 "DEFAULT_RECURSIVE_TRIGGERS",
136 #ifdef SQLITE_DEFAULT_ROWEST
137 "DEFAULT_ROWEST=" CTIMEOPT_VAL(SQLITE_DEFAULT_ROWEST
),
139 #ifdef SQLITE_DEFAULT_SECTOR_SIZE
140 "DEFAULT_SECTOR_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_SECTOR_SIZE
),
142 #ifdef SQLITE_DEFAULT_SYNCHRONOUS
143 "DEFAULT_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_SYNCHRONOUS
),
145 #ifdef SQLITE_DEFAULT_WAL_AUTOCHECKPOINT
146 "DEFAULT_WAL_AUTOCHECKPOINT=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_AUTOCHECKPOINT
),
148 #ifdef SQLITE_DEFAULT_WAL_SYNCHRONOUS
149 "DEFAULT_WAL_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_SYNCHRONOUS
),
151 #ifdef SQLITE_DEFAULT_WORKER_THREADS
152 "DEFAULT_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WORKER_THREADS
),
154 #if SQLITE_DIRECT_OVERFLOW_READ
155 "DIRECT_OVERFLOW_READ",
157 #if SQLITE_DISABLE_DIRSYNC
160 #if SQLITE_DISABLE_FTS3_UNICODE
161 "DISABLE_FTS3_UNICODE",
163 #if SQLITE_DISABLE_FTS4_DEFERRED
164 "DISABLE_FTS4_DEFERRED",
166 #if SQLITE_DISABLE_INTRINSIC
169 #if SQLITE_DISABLE_LFS
172 #if SQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS
173 "DISABLE_PAGECACHE_OVERFLOW_STATS",
175 #if SQLITE_DISABLE_SKIPAHEAD_DISTINCT
176 "DISABLE_SKIPAHEAD_DISTINCT",
178 #ifdef SQLITE_ENABLE_8_3_NAMES
179 "ENABLE_8_3_NAMES=" CTIMEOPT_VAL(SQLITE_ENABLE_8_3_NAMES
),
181 #if SQLITE_ENABLE_API_ARMOR
184 #if SQLITE_ENABLE_ATOMIC_WRITE
185 "ENABLE_ATOMIC_WRITE",
187 #if SQLITE_ENABLE_BATCH_ATOMIC_WRITE
188 "ENABLE_BATCH_ATOMIC_WRITE",
190 #if SQLITE_ENABLE_CEROD
191 "ENABLE_CEROD=" CTIMEOPT_VAL(SQLITE_ENABLE_CEROD
),
193 #if SQLITE_ENABLE_COLUMN_METADATA
194 "ENABLE_COLUMN_METADATA",
196 #if SQLITE_ENABLE_COLUMN_USED_MASK
197 "ENABLE_COLUMN_USED_MASK",
199 #if SQLITE_ENABLE_COSTMULT
202 #if SQLITE_ENABLE_CURSOR_HINTS
203 "ENABLE_CURSOR_HINTS",
205 #if SQLITE_ENABLE_DBSTAT_VTAB
206 "ENABLE_DBSTAT_VTAB",
208 #if SQLITE_ENABLE_EXPENSIVE_ASSERT
209 "ENABLE_EXPENSIVE_ASSERT",
211 #if SQLITE_ENABLE_FTS1
214 #if SQLITE_ENABLE_FTS2
217 #if SQLITE_ENABLE_FTS3
220 #if SQLITE_ENABLE_FTS3_PARENTHESIS
221 "ENABLE_FTS3_PARENTHESIS",
223 #if SQLITE_ENABLE_FTS3_TOKENIZER
224 "ENABLE_FTS3_TOKENIZER",
226 #if SQLITE_ENABLE_FTS4
229 #if SQLITE_ENABLE_FTS5
232 #if SQLITE_ENABLE_HIDDEN_COLUMNS
233 "ENABLE_HIDDEN_COLUMNS",
235 #if SQLITE_ENABLE_ICU
238 #if SQLITE_ENABLE_IOTRACE
241 #if SQLITE_ENABLE_JSON1
244 #if SQLITE_ENABLE_LOAD_EXTENSION
245 "ENABLE_LOAD_EXTENSION",
247 #ifdef SQLITE_ENABLE_LOCKING_STYLE
248 "ENABLE_LOCKING_STYLE=" CTIMEOPT_VAL(SQLITE_ENABLE_LOCKING_STYLE
),
250 #if SQLITE_ENABLE_MEMORY_MANAGEMENT
251 "ENABLE_MEMORY_MANAGEMENT",
253 #if SQLITE_ENABLE_MEMSYS3
256 #if SQLITE_ENABLE_MEMSYS5
259 #if SQLITE_ENABLE_MULTIPLEX
262 #if SQLITE_ENABLE_NULL_TRIM
265 #if SQLITE_ENABLE_OVERSIZE_CELL_CHECK
266 "ENABLE_OVERSIZE_CELL_CHECK",
268 #if SQLITE_ENABLE_PREUPDATE_HOOK
269 "ENABLE_PREUPDATE_HOOK",
271 #if SQLITE_ENABLE_QPSG
274 #if SQLITE_ENABLE_RBU
277 #if SQLITE_ENABLE_RTREE
280 #if SQLITE_ENABLE_SELECTTRACE
281 "ENABLE_SELECTTRACE",
283 #if SQLITE_ENABLE_SESSION
286 #if SQLITE_ENABLE_SNAPSHOT
289 #if SQLITE_ENABLE_SORTER_REFERENCES
290 "ENABLE_SORTER_REFERENCES",
292 #if SQLITE_ENABLE_SQLLOG
295 #if defined(SQLITE_ENABLE_STAT4)
297 #elif defined(SQLITE_ENABLE_STAT3)
300 #if SQLITE_ENABLE_STMTVTAB
303 #if SQLITE_ENABLE_STMT_SCANSTATUS
304 "ENABLE_STMT_SCANSTATUS",
306 #if SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
307 "ENABLE_UNKNOWN_SQL_FUNCTION",
309 #if SQLITE_ENABLE_UNLOCK_NOTIFY
310 "ENABLE_UNLOCK_NOTIFY",
312 #if SQLITE_ENABLE_UPDATE_DELETE_LIMIT
313 "ENABLE_UPDATE_DELETE_LIMIT",
315 #if SQLITE_ENABLE_URI_00_ERROR
316 "ENABLE_URI_00_ERROR",
318 #if SQLITE_ENABLE_VFSTRACE
321 #if SQLITE_ENABLE_WHERETRACE
324 #if SQLITE_ENABLE_ZIPVFS
327 #if SQLITE_EXPLAIN_ESTIMATED_ROWS
328 "EXPLAIN_ESTIMATED_ROWS",
330 #if SQLITE_EXTRA_IFNULLROW
333 #ifdef SQLITE_EXTRA_INIT
334 "EXTRA_INIT=" CTIMEOPT_VAL(SQLITE_EXTRA_INIT
),
336 #ifdef SQLITE_EXTRA_SHUTDOWN
337 "EXTRA_SHUTDOWN=" CTIMEOPT_VAL(SQLITE_EXTRA_SHUTDOWN
),
339 #ifdef SQLITE_FTS3_MAX_EXPR_DEPTH
340 "FTS3_MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_FTS3_MAX_EXPR_DEPTH
),
342 #if SQLITE_FTS5_ENABLE_TEST_MI
343 "FTS5_ENABLE_TEST_MI",
345 #if SQLITE_FTS5_NO_WITHOUT_ROWID
346 "FTS5_NO_WITHOUT_ROWID",
351 #if HAVE_ISNAN || SQLITE_HAVE_ISNAN
354 #if SQLITE_HOMEGROWN_RECURSIVE_MUTEX
355 "HOMEGROWN_RECURSIVE_MUTEX",
357 #if SQLITE_IGNORE_AFP_LOCK_ERRORS
358 "IGNORE_AFP_LOCK_ERRORS",
360 #if SQLITE_IGNORE_FLOCK_LOCK_ERRORS
361 "IGNORE_FLOCK_LOCK_ERRORS",
363 #if SQLITE_INLINE_MEMCPY
366 #if SQLITE_INT64_TYPE
369 #ifdef SQLITE_INTEGRITY_CHECK_ERROR_MAX
370 "INTEGRITY_CHECK_ERROR_MAX=" CTIMEOPT_VAL(SQLITE_INTEGRITY_CHECK_ERROR_MAX
),
372 #if SQLITE_LIKE_DOESNT_MATCH_BLOBS
373 "LIKE_DOESNT_MATCH_BLOBS",
375 #if SQLITE_LOCK_TRACE
378 #if SQLITE_LOG_CACHE_SPILL
381 #ifdef SQLITE_MALLOC_SOFT_LIMIT
382 "MALLOC_SOFT_LIMIT=" CTIMEOPT_VAL(SQLITE_MALLOC_SOFT_LIMIT
),
384 #ifdef SQLITE_MAX_ATTACHED
385 "MAX_ATTACHED=" CTIMEOPT_VAL(SQLITE_MAX_ATTACHED
),
387 #ifdef SQLITE_MAX_COLUMN
388 "MAX_COLUMN=" CTIMEOPT_VAL(SQLITE_MAX_COLUMN
),
390 #ifdef SQLITE_MAX_COMPOUND_SELECT
391 "MAX_COMPOUND_SELECT=" CTIMEOPT_VAL(SQLITE_MAX_COMPOUND_SELECT
),
393 #ifdef SQLITE_MAX_DEFAULT_PAGE_SIZE
394 "MAX_DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_DEFAULT_PAGE_SIZE
),
396 #ifdef SQLITE_MAX_EXPR_DEPTH
397 "MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_EXPR_DEPTH
),
399 #ifdef SQLITE_MAX_FUNCTION_ARG
400 "MAX_FUNCTION_ARG=" CTIMEOPT_VAL(SQLITE_MAX_FUNCTION_ARG
),
402 #ifdef SQLITE_MAX_LENGTH
403 "MAX_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LENGTH
),
405 #ifdef SQLITE_MAX_LIKE_PATTERN_LENGTH
406 "MAX_LIKE_PATTERN_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LIKE_PATTERN_LENGTH
),
408 #ifdef SQLITE_MAX_MEMORY
409 "MAX_MEMORY=" CTIMEOPT_VAL(SQLITE_MAX_MEMORY
),
411 #ifdef SQLITE_MAX_MMAP_SIZE
412 "MAX_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE
),
414 #ifdef SQLITE_MAX_MMAP_SIZE_
415 "MAX_MMAP_SIZE_=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE_
),
417 #ifdef SQLITE_MAX_PAGE_COUNT
418 "MAX_PAGE_COUNT=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_COUNT
),
420 #ifdef SQLITE_MAX_PAGE_SIZE
421 "MAX_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_SIZE
),
423 #ifdef SQLITE_MAX_SCHEMA_RETRY
424 "MAX_SCHEMA_RETRY=" CTIMEOPT_VAL(SQLITE_MAX_SCHEMA_RETRY
),
426 #ifdef SQLITE_MAX_SQL_LENGTH
427 "MAX_SQL_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_SQL_LENGTH
),
429 #ifdef SQLITE_MAX_TRIGGER_DEPTH
430 "MAX_TRIGGER_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_TRIGGER_DEPTH
),
432 #ifdef SQLITE_MAX_VARIABLE_NUMBER
433 "MAX_VARIABLE_NUMBER=" CTIMEOPT_VAL(SQLITE_MAX_VARIABLE_NUMBER
),
435 #ifdef SQLITE_MAX_VDBE_OP
436 "MAX_VDBE_OP=" CTIMEOPT_VAL(SQLITE_MAX_VDBE_OP
),
438 #ifdef SQLITE_MAX_WORKER_THREADS
439 "MAX_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_MAX_WORKER_THREADS
),
444 #if SQLITE_MIXED_ENDIAN_64BIT_FLOAT
445 "MIXED_ENDIAN_64BIT_FLOAT",
447 #if SQLITE_MMAP_READWRITE
450 #if SQLITE_MUTEX_NOOP
453 #if SQLITE_MUTEX_NREF
456 #if SQLITE_MUTEX_OMIT
459 #if SQLITE_MUTEX_PTHREADS
465 #if SQLITE_NEED_ERR_NAME
474 #if SQLITE_OMIT_ALTERTABLE
477 #if SQLITE_OMIT_ANALYZE
480 #if SQLITE_OMIT_ATTACH
483 #if SQLITE_OMIT_AUTHORIZATION
484 "OMIT_AUTHORIZATION",
486 #if SQLITE_OMIT_AUTOINCREMENT
487 "OMIT_AUTOINCREMENT",
489 #if SQLITE_OMIT_AUTOINIT
492 #if SQLITE_OMIT_AUTOMATIC_INDEX
493 "OMIT_AUTOMATIC_INDEX",
495 #if SQLITE_OMIT_AUTORESET
498 #if SQLITE_OMIT_AUTOVACUUM
501 #if SQLITE_OMIT_BETWEEN_OPTIMIZATION
502 "OMIT_BETWEEN_OPTIMIZATION",
504 #if SQLITE_OMIT_BLOB_LITERAL
507 #if SQLITE_OMIT_BTREECOUNT
513 #if SQLITE_OMIT_CHECK
516 #if SQLITE_OMIT_COMPLETE
519 #if SQLITE_OMIT_COMPOUND_SELECT
520 "OMIT_COMPOUND_SELECT",
522 #if SQLITE_OMIT_CONFLICT_CLAUSE
523 "OMIT_CONFLICT_CLAUSE",
528 #if SQLITE_OMIT_DATETIME_FUNCS
529 "OMIT_DATETIME_FUNCS",
531 #if SQLITE_OMIT_DECLTYPE
534 #if SQLITE_OMIT_DEPRECATED
537 #if SQLITE_OMIT_DISKIO
540 #if SQLITE_OMIT_EXPLAIN
543 #if SQLITE_OMIT_FLAG_PRAGMAS
546 #if SQLITE_OMIT_FLOATING_POINT
547 "OMIT_FLOATING_POINT",
549 #if SQLITE_OMIT_FOREIGN_KEY
552 #if SQLITE_OMIT_GET_TABLE
555 #if SQLITE_OMIT_HEX_INTEGER
558 #if SQLITE_OMIT_INCRBLOB
561 #if SQLITE_OMIT_INTEGRITY_CHECK
562 "OMIT_INTEGRITY_CHECK",
564 #if SQLITE_OMIT_LIKE_OPTIMIZATION
565 "OMIT_LIKE_OPTIMIZATION",
567 #if SQLITE_OMIT_LOAD_EXTENSION
568 "OMIT_LOAD_EXTENSION",
570 #if SQLITE_OMIT_LOCALTIME
573 #if SQLITE_OMIT_LOOKASIDE
576 #if SQLITE_OMIT_MEMORYDB
579 #if SQLITE_OMIT_OR_OPTIMIZATION
580 "OMIT_OR_OPTIMIZATION",
582 #if SQLITE_OMIT_PAGER_PRAGMAS
583 "OMIT_PAGER_PRAGMAS",
585 #if SQLITE_OMIT_PARSER_TRACE
588 #if SQLITE_OMIT_POPEN
591 #if SQLITE_OMIT_PRAGMA
594 #if SQLITE_OMIT_PROGRESS_CALLBACK
595 "OMIT_PROGRESS_CALLBACK",
597 #if SQLITE_OMIT_QUICKBALANCE
600 #if SQLITE_OMIT_REINDEX
603 #if SQLITE_OMIT_SCHEMA_PRAGMAS
604 "OMIT_SCHEMA_PRAGMAS",
606 #if SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS
607 "OMIT_SCHEMA_VERSION_PRAGMAS",
609 #if SQLITE_OMIT_SHARED_CACHE
612 #if SQLITE_OMIT_SHUTDOWN_DIRECTORIES
613 "OMIT_SHUTDOWN_DIRECTORIES",
615 #if SQLITE_OMIT_SUBQUERY
618 #if SQLITE_OMIT_TCL_VARIABLE
621 #if SQLITE_OMIT_TEMPDB
624 #if SQLITE_OMIT_TEST_CONTROL
627 #if SQLITE_OMIT_TRACE
630 #if SQLITE_OMIT_TRIGGER
633 #if SQLITE_OMIT_TRUNCATE_OPTIMIZATION
634 "OMIT_TRUNCATE_OPTIMIZATION",
636 #if SQLITE_OMIT_UTF16
639 #if SQLITE_OMIT_VACUUM
645 #if SQLITE_OMIT_VIRTUALTABLE
654 #if SQLITE_OMIT_XFER_OPT
657 #if SQLITE_PCACHE_SEPARATE_HEADER
658 "PCACHE_SEPARATE_HEADER",
660 #if SQLITE_PERFORMANCE_TRACE
663 #if SQLITE_POWERSAFE_OVERWRITE
664 "POWERSAFE_OVERWRITE",
666 #if SQLITE_PREFER_PROXY_LOCKING
667 "PREFER_PROXY_LOCKING",
669 #if SQLITE_PROXY_DEBUG
672 #if SQLITE_REVERSE_UNORDERED_SELECTS
673 "REVERSE_UNORDERED_SELECTS",
675 #if SQLITE_RTREE_INT_ONLY
678 #if SQLITE_SECURE_DELETE
681 #if SQLITE_SMALL_STACK
684 #ifdef SQLITE_SORTER_PMASZ
685 "SORTER_PMASZ=" CTIMEOPT_VAL(SQLITE_SORTER_PMASZ
),
690 #ifdef SQLITE_STAT4_SAMPLES
691 "STAT4_SAMPLES=" CTIMEOPT_VAL(SQLITE_STAT4_SAMPLES
),
693 #ifdef SQLITE_STMTJRNL_SPILL
694 "STMTJRNL_SPILL=" CTIMEOPT_VAL(SQLITE_STMTJRNL_SPILL
),
696 #if SQLITE_SUBSTR_COMPATIBILITY
697 "SUBSTR_COMPATIBILITY",
699 #if SQLITE_SYSTEM_MALLOC
705 #ifdef SQLITE_TEMP_STORE
706 "TEMP_STORE=" CTIMEOPT_VAL(SQLITE_TEMP_STORE
),
711 #if defined(SQLITE_THREADSAFE)
712 "THREADSAFE=" CTIMEOPT_VAL(SQLITE_THREADSAFE
),
713 #elif defined(THREADSAFE)
714 "THREADSAFE=" CTIMEOPT_VAL(THREADSAFE
),
718 #if SQLITE_UNLINK_AFTER_CLOSE
719 "UNLINK_AFTER_CLOSE",
721 #if SQLITE_UNTESTABLE
724 #if SQLITE_USER_AUTHENTICATION
725 "USER_AUTHENTICATION",
727 #if SQLITE_USE_ALLOCA
730 #if SQLITE_USE_FCNTL_TRACE
736 #if SQLITE_VDBE_COVERAGE
739 #if SQLITE_WIN32_MALLOC
742 #if SQLITE_ZERO_MALLOC
746 ** END CODE GENERATED BY tool/mkctime.tcl
750 const char **sqlite3CompileOptions(int *pnOpt
){
751 *pnOpt
= sizeof(sqlite3azCompileOpt
) / sizeof(sqlite3azCompileOpt
[0]);
752 return (const char**)sqlite3azCompileOpt
;
755 #endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */