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 /* IMP: R-16824-07538 */
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)
33 /* Like CTIMEOPT_VAL, but especially for SQLITE_DEFAULT_LOOKASIDE. This
34 ** option requires a separate macro because legal values contain a single
35 ** comma. e.g. (-DSQLITE_DEFAULT_LOOKASIDE="100,100") */
36 #define CTIMEOPT_VAL2_(opt1,opt2) #opt1 "," #opt2
37 #define CTIMEOPT_VAL2(opt) CTIMEOPT_VAL2_(opt)
40 ** An array of names of all compile-time options. This array should
43 ** This array looks large, but in a typical installation actually uses
44 ** only a handful of compile-time options, so most times this array is usually
45 ** rather short and uses little memory space.
47 static const char * const sqlite3azCompileOpt
[] = {
50 ** BEGIN CODE GENERATED BY tool/mkctime.tcl
52 #if SQLITE_32BIT_ROWID
55 #if SQLITE_4_BYTE_ALIGNED_MALLOC
56 "4_BYTE_ALIGNED_MALLOC",
58 #if SQLITE_64BIT_STATS
61 #if SQLITE_ALLOW_COVERING_INDEX_SCAN
62 "ALLOW_COVERING_INDEX_SCAN",
64 #if SQLITE_ALLOW_URI_AUTHORITY
65 "ALLOW_URI_AUTHORITY",
67 #ifdef SQLITE_BITMASK_TYPE
68 "BITMASK_TYPE=" CTIMEOPT_VAL(SQLITE_BITMASK_TYPE
),
70 #if SQLITE_BUG_COMPATIBLE_20160819
71 "BUG_COMPATIBLE_20160819",
73 #if SQLITE_CASE_SENSITIVE_LIKE
74 "CASE_SENSITIVE_LIKE",
76 #if SQLITE_CHECK_PAGES
79 #if defined(__clang__) && defined(__clang_major__)
80 "COMPILER=clang-" CTIMEOPT_VAL(__clang_major__
) "."
81 CTIMEOPT_VAL(__clang_minor__
) "."
82 CTIMEOPT_VAL(__clang_patchlevel__
),
83 #elif defined(_MSC_VER)
84 "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER
),
85 #elif defined(__GNUC__) && defined(__VERSION__)
86 "COMPILER=gcc-" __VERSION__
,
88 #if SQLITE_COVERAGE_TEST
94 #if SQLITE_DEFAULT_AUTOMATIC_INDEX
95 "DEFAULT_AUTOMATIC_INDEX",
97 #if SQLITE_DEFAULT_AUTOVACUUM
100 #ifdef SQLITE_DEFAULT_CACHE_SIZE
101 "DEFAULT_CACHE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_CACHE_SIZE
),
103 #if SQLITE_DEFAULT_CKPTFULLFSYNC
104 "DEFAULT_CKPTFULLFSYNC",
106 #ifdef SQLITE_DEFAULT_FILE_FORMAT
107 "DEFAULT_FILE_FORMAT=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_FORMAT
),
109 #ifdef SQLITE_DEFAULT_FILE_PERMISSIONS
110 "DEFAULT_FILE_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_PERMISSIONS
),
112 #if SQLITE_DEFAULT_FOREIGN_KEYS
113 "DEFAULT_FOREIGN_KEYS",
115 #ifdef SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT
116 "DEFAULT_JOURNAL_SIZE_LIMIT=" CTIMEOPT_VAL(SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT
),
118 #ifdef SQLITE_DEFAULT_LOCKING_MODE
119 "DEFAULT_LOCKING_MODE=" CTIMEOPT_VAL(SQLITE_DEFAULT_LOCKING_MODE
),
121 #ifdef SQLITE_DEFAULT_LOOKASIDE
122 "DEFAULT_LOOKASIDE=" CTIMEOPT_VAL2(SQLITE_DEFAULT_LOOKASIDE
),
124 #if SQLITE_DEFAULT_MEMSTATUS
127 #ifdef SQLITE_DEFAULT_MMAP_SIZE
128 "DEFAULT_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_MMAP_SIZE
),
130 #ifdef SQLITE_DEFAULT_PAGE_SIZE
131 "DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_PAGE_SIZE
),
133 #ifdef SQLITE_DEFAULT_PCACHE_INITSZ
134 "DEFAULT_PCACHE_INITSZ=" CTIMEOPT_VAL(SQLITE_DEFAULT_PCACHE_INITSZ
),
136 #ifdef SQLITE_DEFAULT_PROXYDIR_PERMISSIONS
137 "DEFAULT_PROXYDIR_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_PROXYDIR_PERMISSIONS
),
139 #if SQLITE_DEFAULT_RECURSIVE_TRIGGERS
140 "DEFAULT_RECURSIVE_TRIGGERS",
142 #ifdef SQLITE_DEFAULT_ROWEST
143 "DEFAULT_ROWEST=" CTIMEOPT_VAL(SQLITE_DEFAULT_ROWEST
),
145 #ifdef SQLITE_DEFAULT_SECTOR_SIZE
146 "DEFAULT_SECTOR_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_SECTOR_SIZE
),
148 #ifdef SQLITE_DEFAULT_SYNCHRONOUS
149 "DEFAULT_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_SYNCHRONOUS
),
151 #ifdef SQLITE_DEFAULT_WAL_AUTOCHECKPOINT
152 "DEFAULT_WAL_AUTOCHECKPOINT=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_AUTOCHECKPOINT
),
154 #ifdef SQLITE_DEFAULT_WAL_SYNCHRONOUS
155 "DEFAULT_WAL_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_SYNCHRONOUS
),
157 #ifdef SQLITE_DEFAULT_WORKER_THREADS
158 "DEFAULT_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WORKER_THREADS
),
160 #if SQLITE_DIRECT_OVERFLOW_READ
161 "DIRECT_OVERFLOW_READ",
163 #if SQLITE_DISABLE_DIRSYNC
166 #if SQLITE_DISABLE_FTS3_UNICODE
167 "DISABLE_FTS3_UNICODE",
169 #if SQLITE_DISABLE_FTS4_DEFERRED
170 "DISABLE_FTS4_DEFERRED",
172 #if SQLITE_DISABLE_INTRINSIC
175 #if SQLITE_DISABLE_LFS
178 #if SQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS
179 "DISABLE_PAGECACHE_OVERFLOW_STATS",
181 #if SQLITE_DISABLE_SKIPAHEAD_DISTINCT
182 "DISABLE_SKIPAHEAD_DISTINCT",
184 #ifdef SQLITE_ENABLE_8_3_NAMES
185 "ENABLE_8_3_NAMES=" CTIMEOPT_VAL(SQLITE_ENABLE_8_3_NAMES
),
187 #if SQLITE_ENABLE_API_ARMOR
190 #if SQLITE_ENABLE_ATOMIC_WRITE
191 "ENABLE_ATOMIC_WRITE",
193 #if SQLITE_ENABLE_BATCH_ATOMIC_WRITE
194 "ENABLE_BATCH_ATOMIC_WRITE",
196 #if SQLITE_ENABLE_BYTECODE_VTAB
197 "ENABLE_BYTECODE_VTAB",
199 #if SQLITE_ENABLE_CEROD
200 "ENABLE_CEROD=" CTIMEOPT_VAL(SQLITE_ENABLE_CEROD
),
202 #if SQLITE_ENABLE_COLUMN_METADATA
203 "ENABLE_COLUMN_METADATA",
205 #if SQLITE_ENABLE_COLUMN_USED_MASK
206 "ENABLE_COLUMN_USED_MASK",
208 #if SQLITE_ENABLE_COSTMULT
211 #if SQLITE_ENABLE_CURSOR_HINTS
212 "ENABLE_CURSOR_HINTS",
214 #if SQLITE_ENABLE_DBSTAT_VTAB
215 "ENABLE_DBSTAT_VTAB",
217 #if SQLITE_ENABLE_EXPENSIVE_ASSERT
218 "ENABLE_EXPENSIVE_ASSERT",
220 #if SQLITE_ENABLE_FTS1
223 #if SQLITE_ENABLE_FTS2
226 #if SQLITE_ENABLE_FTS3
229 #if SQLITE_ENABLE_FTS3_PARENTHESIS
230 "ENABLE_FTS3_PARENTHESIS",
232 #if SQLITE_ENABLE_FTS3_TOKENIZER
233 "ENABLE_FTS3_TOKENIZER",
235 #if SQLITE_ENABLE_FTS4
238 #if SQLITE_ENABLE_FTS5
241 #if SQLITE_ENABLE_GEOPOLY
244 #if SQLITE_ENABLE_HIDDEN_COLUMNS
245 "ENABLE_HIDDEN_COLUMNS",
247 #if SQLITE_ENABLE_ICU
250 #if SQLITE_ENABLE_IOTRACE
253 #if SQLITE_ENABLE_JSON1
256 #if SQLITE_ENABLE_LOAD_EXTENSION
257 "ENABLE_LOAD_EXTENSION",
259 #ifdef SQLITE_ENABLE_LOCKING_STYLE
260 "ENABLE_LOCKING_STYLE=" CTIMEOPT_VAL(SQLITE_ENABLE_LOCKING_STYLE
),
262 #if SQLITE_ENABLE_MEMORY_MANAGEMENT
263 "ENABLE_MEMORY_MANAGEMENT",
265 #if SQLITE_ENABLE_MEMSYS3
268 #if SQLITE_ENABLE_MEMSYS5
271 #if SQLITE_ENABLE_MULTIPLEX
274 #if SQLITE_ENABLE_NORMALIZE
277 #if SQLITE_ENABLE_NULL_TRIM
280 #if SQLITE_ENABLE_OVERSIZE_CELL_CHECK
281 "ENABLE_OVERSIZE_CELL_CHECK",
283 #if SQLITE_ENABLE_PREUPDATE_HOOK
284 "ENABLE_PREUPDATE_HOOK",
286 #if SQLITE_ENABLE_QPSG
289 #if SQLITE_ENABLE_RBU
292 #if SQLITE_ENABLE_RTREE
295 #if SQLITE_ENABLE_SELECTTRACE
296 "ENABLE_SELECTTRACE",
298 #if SQLITE_ENABLE_SESSION
301 #if SQLITE_ENABLE_SNAPSHOT
304 #if SQLITE_ENABLE_SORTER_REFERENCES
305 "ENABLE_SORTER_REFERENCES",
307 #if SQLITE_ENABLE_SQLLOG
310 #if defined(SQLITE_ENABLE_STAT4)
313 #if SQLITE_ENABLE_STMTVTAB
316 #if SQLITE_ENABLE_STMT_SCANSTATUS
317 "ENABLE_STMT_SCANSTATUS",
319 #if SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
320 "ENABLE_UNKNOWN_SQL_FUNCTION",
322 #if SQLITE_ENABLE_UNLOCK_NOTIFY
323 "ENABLE_UNLOCK_NOTIFY",
325 #if SQLITE_ENABLE_UPDATE_DELETE_LIMIT
326 "ENABLE_UPDATE_DELETE_LIMIT",
328 #if SQLITE_ENABLE_URI_00_ERROR
329 "ENABLE_URI_00_ERROR",
331 #if SQLITE_ENABLE_VFSTRACE
334 #if SQLITE_ENABLE_WHERETRACE
337 #if SQLITE_ENABLE_ZIPVFS
340 #if SQLITE_EXPLAIN_ESTIMATED_ROWS
341 "EXPLAIN_ESTIMATED_ROWS",
343 #if SQLITE_EXTRA_IFNULLROW
346 #ifdef SQLITE_EXTRA_INIT
347 "EXTRA_INIT=" CTIMEOPT_VAL(SQLITE_EXTRA_INIT
),
349 #ifdef SQLITE_EXTRA_SHUTDOWN
350 "EXTRA_SHUTDOWN=" CTIMEOPT_VAL(SQLITE_EXTRA_SHUTDOWN
),
352 #ifdef SQLITE_FTS3_MAX_EXPR_DEPTH
353 "FTS3_MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_FTS3_MAX_EXPR_DEPTH
),
355 #if SQLITE_FTS5_ENABLE_TEST_MI
356 "FTS5_ENABLE_TEST_MI",
358 #if SQLITE_FTS5_NO_WITHOUT_ROWID
359 "FTS5_NO_WITHOUT_ROWID",
361 /* BEGIN SQLCIPHER */
366 #if HAVE_ISNAN || SQLITE_HAVE_ISNAN
369 #if SQLITE_HOMEGROWN_RECURSIVE_MUTEX
370 "HOMEGROWN_RECURSIVE_MUTEX",
372 #if SQLITE_IGNORE_AFP_LOCK_ERRORS
373 "IGNORE_AFP_LOCK_ERRORS",
375 #if SQLITE_IGNORE_FLOCK_LOCK_ERRORS
376 "IGNORE_FLOCK_LOCK_ERRORS",
378 #if SQLITE_INLINE_MEMCPY
381 #if SQLITE_INT64_TYPE
384 #ifdef SQLITE_INTEGRITY_CHECK_ERROR_MAX
385 "INTEGRITY_CHECK_ERROR_MAX=" CTIMEOPT_VAL(SQLITE_INTEGRITY_CHECK_ERROR_MAX
),
387 #if SQLITE_LIKE_DOESNT_MATCH_BLOBS
388 "LIKE_DOESNT_MATCH_BLOBS",
390 #if SQLITE_LOCK_TRACE
393 #if SQLITE_LOG_CACHE_SPILL
396 #ifdef SQLITE_MALLOC_SOFT_LIMIT
397 "MALLOC_SOFT_LIMIT=" CTIMEOPT_VAL(SQLITE_MALLOC_SOFT_LIMIT
),
399 #ifdef SQLITE_MAX_ATTACHED
400 "MAX_ATTACHED=" CTIMEOPT_VAL(SQLITE_MAX_ATTACHED
),
402 #ifdef SQLITE_MAX_COLUMN
403 "MAX_COLUMN=" CTIMEOPT_VAL(SQLITE_MAX_COLUMN
),
405 #ifdef SQLITE_MAX_COMPOUND_SELECT
406 "MAX_COMPOUND_SELECT=" CTIMEOPT_VAL(SQLITE_MAX_COMPOUND_SELECT
),
408 #ifdef SQLITE_MAX_DEFAULT_PAGE_SIZE
409 "MAX_DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_DEFAULT_PAGE_SIZE
),
411 #ifdef SQLITE_MAX_EXPR_DEPTH
412 "MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_EXPR_DEPTH
),
414 #ifdef SQLITE_MAX_FUNCTION_ARG
415 "MAX_FUNCTION_ARG=" CTIMEOPT_VAL(SQLITE_MAX_FUNCTION_ARG
),
417 #ifdef SQLITE_MAX_LENGTH
418 "MAX_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LENGTH
),
420 #ifdef SQLITE_MAX_LIKE_PATTERN_LENGTH
421 "MAX_LIKE_PATTERN_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LIKE_PATTERN_LENGTH
),
423 #ifdef SQLITE_MAX_MEMORY
424 "MAX_MEMORY=" CTIMEOPT_VAL(SQLITE_MAX_MEMORY
),
426 #ifdef SQLITE_MAX_MMAP_SIZE
427 "MAX_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE
),
429 #ifdef SQLITE_MAX_MMAP_SIZE_
430 "MAX_MMAP_SIZE_=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE_
),
432 #ifdef SQLITE_MAX_PAGE_COUNT
433 "MAX_PAGE_COUNT=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_COUNT
),
435 #ifdef SQLITE_MAX_PAGE_SIZE
436 "MAX_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_SIZE
),
438 #ifdef SQLITE_MAX_SCHEMA_RETRY
439 "MAX_SCHEMA_RETRY=" CTIMEOPT_VAL(SQLITE_MAX_SCHEMA_RETRY
),
441 #ifdef SQLITE_MAX_SQL_LENGTH
442 "MAX_SQL_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_SQL_LENGTH
),
444 #ifdef SQLITE_MAX_TRIGGER_DEPTH
445 "MAX_TRIGGER_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_TRIGGER_DEPTH
),
447 #ifdef SQLITE_MAX_VARIABLE_NUMBER
448 "MAX_VARIABLE_NUMBER=" CTIMEOPT_VAL(SQLITE_MAX_VARIABLE_NUMBER
),
450 #ifdef SQLITE_MAX_VDBE_OP
451 "MAX_VDBE_OP=" CTIMEOPT_VAL(SQLITE_MAX_VDBE_OP
),
453 #ifdef SQLITE_MAX_WORKER_THREADS
454 "MAX_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_MAX_WORKER_THREADS
),
459 #if SQLITE_MIXED_ENDIAN_64BIT_FLOAT
460 "MIXED_ENDIAN_64BIT_FLOAT",
462 #if SQLITE_MMAP_READWRITE
465 #if SQLITE_MUTEX_NOOP
468 #if SQLITE_MUTEX_NREF
471 #if SQLITE_MUTEX_OMIT
474 #if SQLITE_MUTEX_PTHREADS
480 #if SQLITE_NEED_ERR_NAME
489 #if SQLITE_OMIT_ALTERTABLE
492 #if SQLITE_OMIT_ANALYZE
495 #if SQLITE_OMIT_ATTACH
498 #if SQLITE_OMIT_AUTHORIZATION
499 "OMIT_AUTHORIZATION",
501 #if SQLITE_OMIT_AUTOINCREMENT
502 "OMIT_AUTOINCREMENT",
504 #if SQLITE_OMIT_AUTOINIT
507 #if SQLITE_OMIT_AUTOMATIC_INDEX
508 "OMIT_AUTOMATIC_INDEX",
510 #if SQLITE_OMIT_AUTORESET
513 #if SQLITE_OMIT_AUTOVACUUM
516 #if SQLITE_OMIT_BETWEEN_OPTIMIZATION
517 "OMIT_BETWEEN_OPTIMIZATION",
519 #if SQLITE_OMIT_BLOB_LITERAL
525 #if SQLITE_OMIT_CHECK
528 #if SQLITE_OMIT_COMPLETE
531 #if SQLITE_OMIT_COMPOUND_SELECT
532 "OMIT_COMPOUND_SELECT",
534 #if SQLITE_OMIT_CONFLICT_CLAUSE
535 "OMIT_CONFLICT_CLAUSE",
540 #if SQLITE_OMIT_DATETIME_FUNCS
541 "OMIT_DATETIME_FUNCS",
543 #if SQLITE_OMIT_DECLTYPE
546 #if SQLITE_OMIT_DEPRECATED
549 #if SQLITE_OMIT_DISKIO
552 #if SQLITE_OMIT_EXPLAIN
555 #if SQLITE_OMIT_FLAG_PRAGMAS
558 #if SQLITE_OMIT_FLOATING_POINT
559 "OMIT_FLOATING_POINT",
561 #if SQLITE_OMIT_FOREIGN_KEY
564 #if SQLITE_OMIT_GET_TABLE
567 #if SQLITE_OMIT_HEX_INTEGER
570 #if SQLITE_OMIT_INCRBLOB
573 #if SQLITE_OMIT_INTEGRITY_CHECK
574 "OMIT_INTEGRITY_CHECK",
576 #if SQLITE_OMIT_LIKE_OPTIMIZATION
577 "OMIT_LIKE_OPTIMIZATION",
579 #if SQLITE_OMIT_LOAD_EXTENSION
580 "OMIT_LOAD_EXTENSION",
582 #if SQLITE_OMIT_LOCALTIME
585 #if SQLITE_OMIT_LOOKASIDE
588 #if SQLITE_OMIT_MEMORYDB
591 #if SQLITE_OMIT_OR_OPTIMIZATION
592 "OMIT_OR_OPTIMIZATION",
594 #if SQLITE_OMIT_PAGER_PRAGMAS
595 "OMIT_PAGER_PRAGMAS",
597 #if SQLITE_OMIT_PARSER_TRACE
600 #if SQLITE_OMIT_POPEN
603 #if SQLITE_OMIT_PRAGMA
606 #if SQLITE_OMIT_PROGRESS_CALLBACK
607 "OMIT_PROGRESS_CALLBACK",
609 #if SQLITE_OMIT_QUICKBALANCE
612 #if SQLITE_OMIT_REINDEX
615 #if SQLITE_OMIT_SCHEMA_PRAGMAS
616 "OMIT_SCHEMA_PRAGMAS",
618 #if SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS
619 "OMIT_SCHEMA_VERSION_PRAGMAS",
621 #if SQLITE_OMIT_SHARED_CACHE
624 #if SQLITE_OMIT_SHUTDOWN_DIRECTORIES
625 "OMIT_SHUTDOWN_DIRECTORIES",
627 #if SQLITE_OMIT_SUBQUERY
630 #if SQLITE_OMIT_TCL_VARIABLE
633 #if SQLITE_OMIT_TEMPDB
636 #if SQLITE_OMIT_TEST_CONTROL
639 #if SQLITE_OMIT_TRACE
642 #if SQLITE_OMIT_TRIGGER
645 #if SQLITE_OMIT_TRUNCATE_OPTIMIZATION
646 "OMIT_TRUNCATE_OPTIMIZATION",
648 #if SQLITE_OMIT_UTF16
651 #if SQLITE_OMIT_VACUUM
657 #if SQLITE_OMIT_VIRTUALTABLE
666 #if SQLITE_OMIT_XFER_OPT
669 #if SQLITE_PCACHE_SEPARATE_HEADER
670 "PCACHE_SEPARATE_HEADER",
672 #if SQLITE_PERFORMANCE_TRACE
675 #if SQLITE_POWERSAFE_OVERWRITE
676 "POWERSAFE_OVERWRITE",
678 #if SQLITE_PREFER_PROXY_LOCKING
679 "PREFER_PROXY_LOCKING",
681 #if SQLITE_PROXY_DEBUG
684 #if SQLITE_REVERSE_UNORDERED_SELECTS
685 "REVERSE_UNORDERED_SELECTS",
687 #if SQLITE_RTREE_INT_ONLY
690 #if SQLITE_SECURE_DELETE
693 #if SQLITE_SMALL_STACK
696 #ifdef SQLITE_SORTER_PMASZ
697 "SORTER_PMASZ=" CTIMEOPT_VAL(SQLITE_SORTER_PMASZ
),
702 #ifdef SQLITE_STAT4_SAMPLES
703 "STAT4_SAMPLES=" CTIMEOPT_VAL(SQLITE_STAT4_SAMPLES
),
705 #ifdef SQLITE_STMTJRNL_SPILL
706 "STMTJRNL_SPILL=" CTIMEOPT_VAL(SQLITE_STMTJRNL_SPILL
),
708 #if SQLITE_SUBSTR_COMPATIBILITY
709 "SUBSTR_COMPATIBILITY",
711 #if SQLITE_SYSTEM_MALLOC
717 #ifdef SQLITE_TEMP_STORE
718 "TEMP_STORE=" CTIMEOPT_VAL(SQLITE_TEMP_STORE
),
723 #if defined(SQLITE_THREADSAFE)
724 "THREADSAFE=" CTIMEOPT_VAL(SQLITE_THREADSAFE
),
725 #elif defined(THREADSAFE)
726 "THREADSAFE=" CTIMEOPT_VAL(THREADSAFE
),
730 #if SQLITE_UNLINK_AFTER_CLOSE
731 "UNLINK_AFTER_CLOSE",
733 #if SQLITE_UNTESTABLE
736 #if SQLITE_USER_AUTHENTICATION
737 "USER_AUTHENTICATION",
739 #if SQLITE_USE_ALLOCA
742 #if SQLITE_USE_FCNTL_TRACE
748 #if SQLITE_VDBE_COVERAGE
751 #if SQLITE_WIN32_MALLOC
754 #if SQLITE_ZERO_MALLOC
758 ** END CODE GENERATED BY tool/mkctime.tcl
762 const char **sqlite3CompileOptions(int *pnOpt
){
763 *pnOpt
= sizeof(sqlite3azCompileOpt
) / sizeof(sqlite3azCompileOpt
[0]);
764 return (const char**)sqlite3azCompileOpt
;
767 #endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */