shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 1 | /* |
| 2 | ** 2010 February 23 |
| 3 | ** |
| 4 | ** The author disclaims copyright to this source code. In place of |
| 5 | ** a legal notice, here is a blessing: |
| 6 | ** |
| 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. |
| 10 | ** |
| 11 | ************************************************************************* |
| 12 | ** |
| 13 | ** This file implements routines used to report what compile-time options |
| 14 | ** SQLite was built with. |
| 15 | */ |
| 16 | |
drh | 4eb4e4f | 2019-06-13 16:14:53 +0000 | [diff] [blame] | 17 | #ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS /* IMP: R-16824-07538 */ |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 18 | |
drh | 7f2d1cd | 2017-06-24 16:35:00 +0000 | [diff] [blame] | 19 | /* |
| 20 | ** Include the configuration header output by 'configure' if we're using the |
| 21 | ** autoconf-based build |
| 22 | */ |
| 23 | #if defined(_HAVE_SQLITE_CONFIG_H) && !defined(SQLITECONFIG_H) |
| 24 | #include "config.h" |
| 25 | #define SQLITECONFIG_H 1 |
| 26 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 27 | |
| 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) |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 32 | |
dan | 78ccff1 | 2018-07-23 10:57:53 +0000 | [diff] [blame] | 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) |
| 38 | |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 39 | /* |
shaneh | 915c8bd | 2010-02-24 19:36:10 +0000 | [diff] [blame] | 40 | ** An array of names of all compile-time options. This array should |
| 41 | ** be sorted A-Z. |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 42 | ** |
| 43 | ** This array looks large, but in a typical installation actually uses |
shaneh | 915c8bd | 2010-02-24 19:36:10 +0000 | [diff] [blame] | 44 | ** only a handful of compile-time options, so most times this array is usually |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 45 | ** rather short and uses little memory space. |
| 46 | */ |
drh | f383f35 | 2017-06-20 18:19:16 +0000 | [diff] [blame] | 47 | static const char * const sqlite3azCompileOpt[] = { |
shaneh | 915c8bd | 2010-02-24 19:36:10 +0000 | [diff] [blame] | 48 | |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 49 | /* |
| 50 | ** BEGIN CODE GENERATED BY tool/mkctime.tcl |
| 51 | */ |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 52 | #if SQLITE_32BIT_ROWID |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 53 | "32BIT_ROWID", |
| 54 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 55 | #if SQLITE_4_BYTE_ALIGNED_MALLOC |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 56 | "4_BYTE_ALIGNED_MALLOC", |
| 57 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 58 | #if SQLITE_64BIT_STATS |
| 59 | "64BIT_STATS", |
| 60 | #endif |
| 61 | #if SQLITE_ALLOW_COVERING_INDEX_SCAN |
| 62 | "ALLOW_COVERING_INDEX_SCAN", |
| 63 | #endif |
| 64 | #if SQLITE_ALLOW_URI_AUTHORITY |
| 65 | "ALLOW_URI_AUTHORITY", |
| 66 | #endif |
| 67 | #ifdef SQLITE_BITMASK_TYPE |
| 68 | "BITMASK_TYPE=" CTIMEOPT_VAL(SQLITE_BITMASK_TYPE), |
| 69 | #endif |
| 70 | #if SQLITE_BUG_COMPATIBLE_20160819 |
| 71 | "BUG_COMPATIBLE_20160819", |
| 72 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 73 | #if SQLITE_CASE_SENSITIVE_LIKE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 74 | "CASE_SENSITIVE_LIKE", |
| 75 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 76 | #if SQLITE_CHECK_PAGES |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 77 | "CHECK_PAGES", |
| 78 | #endif |
drh | aa03258 | 2016-07-28 17:24:16 +0000 | [diff] [blame] | 79 | #if defined(__clang__) && defined(__clang_major__) |
| 80 | "COMPILER=clang-" CTIMEOPT_VAL(__clang_major__) "." |
| 81 | CTIMEOPT_VAL(__clang_minor__) "." |
| 82 | CTIMEOPT_VAL(__clang_patchlevel__), |
mistachkin | f35b8f8 | 2016-05-28 00:13:21 +0000 | [diff] [blame] | 83 | #elif defined(_MSC_VER) |
| 84 | "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER), |
mistachkin | 7ce6cdd | 2016-05-27 21:13:43 +0000 | [diff] [blame] | 85 | #elif defined(__GNUC__) && defined(__VERSION__) |
| 86 | "COMPILER=gcc-" __VERSION__, |
mistachkin | 15e2dde | 2016-05-27 18:09:45 +0000 | [diff] [blame] | 87 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 88 | #if SQLITE_COVERAGE_TEST |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 89 | "COVERAGE_TEST", |
| 90 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 91 | #if SQLITE_DEBUG |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 92 | "DEBUG", |
| 93 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 94 | #if SQLITE_DEFAULT_AUTOMATIC_INDEX |
| 95 | "DEFAULT_AUTOMATIC_INDEX", |
| 96 | #endif |
| 97 | #if SQLITE_DEFAULT_AUTOVACUUM |
| 98 | "DEFAULT_AUTOVACUUM", |
| 99 | #endif |
| 100 | #ifdef SQLITE_DEFAULT_CACHE_SIZE |
| 101 | "DEFAULT_CACHE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_CACHE_SIZE), |
| 102 | #endif |
| 103 | #if SQLITE_DEFAULT_CKPTFULLFSYNC |
| 104 | "DEFAULT_CKPTFULLFSYNC", |
| 105 | #endif |
| 106 | #ifdef SQLITE_DEFAULT_FILE_FORMAT |
| 107 | "DEFAULT_FILE_FORMAT=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_FORMAT), |
| 108 | #endif |
| 109 | #ifdef SQLITE_DEFAULT_FILE_PERMISSIONS |
| 110 | "DEFAULT_FILE_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_FILE_PERMISSIONS), |
| 111 | #endif |
| 112 | #if SQLITE_DEFAULT_FOREIGN_KEYS |
| 113 | "DEFAULT_FOREIGN_KEYS", |
| 114 | #endif |
| 115 | #ifdef SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT |
| 116 | "DEFAULT_JOURNAL_SIZE_LIMIT=" CTIMEOPT_VAL(SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT), |
| 117 | #endif |
| 118 | #ifdef SQLITE_DEFAULT_LOCKING_MODE |
shaneh | 915c8bd | 2010-02-24 19:36:10 +0000 | [diff] [blame] | 119 | "DEFAULT_LOCKING_MODE=" CTIMEOPT_VAL(SQLITE_DEFAULT_LOCKING_MODE), |
| 120 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 121 | #ifdef SQLITE_DEFAULT_LOOKASIDE |
dan | 78ccff1 | 2018-07-23 10:57:53 +0000 | [diff] [blame] | 122 | "DEFAULT_LOOKASIDE=" CTIMEOPT_VAL2(SQLITE_DEFAULT_LOOKASIDE), |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 123 | #endif |
| 124 | #if SQLITE_DEFAULT_MEMSTATUS |
| 125 | "DEFAULT_MEMSTATUS", |
| 126 | #endif |
| 127 | #ifdef SQLITE_DEFAULT_MMAP_SIZE |
drh | 9b4c59f | 2013-04-15 17:03:42 +0000 | [diff] [blame] | 128 | "DEFAULT_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_MMAP_SIZE), |
drh | 34f7490 | 2013-04-03 13:09:18 +0000 | [diff] [blame] | 129 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 130 | #ifdef SQLITE_DEFAULT_PAGE_SIZE |
| 131 | "DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_PAGE_SIZE), |
| 132 | #endif |
| 133 | #ifdef SQLITE_DEFAULT_PCACHE_INITSZ |
| 134 | "DEFAULT_PCACHE_INITSZ=" CTIMEOPT_VAL(SQLITE_DEFAULT_PCACHE_INITSZ), |
| 135 | #endif |
| 136 | #ifdef SQLITE_DEFAULT_PROXYDIR_PERMISSIONS |
| 137 | "DEFAULT_PROXYDIR_PERMISSIONS=" CTIMEOPT_VAL(SQLITE_DEFAULT_PROXYDIR_PERMISSIONS), |
| 138 | #endif |
| 139 | #if SQLITE_DEFAULT_RECURSIVE_TRIGGERS |
| 140 | "DEFAULT_RECURSIVE_TRIGGERS", |
| 141 | #endif |
| 142 | #ifdef SQLITE_DEFAULT_ROWEST |
| 143 | "DEFAULT_ROWEST=" CTIMEOPT_VAL(SQLITE_DEFAULT_ROWEST), |
| 144 | #endif |
| 145 | #ifdef SQLITE_DEFAULT_SECTOR_SIZE |
| 146 | "DEFAULT_SECTOR_SIZE=" CTIMEOPT_VAL(SQLITE_DEFAULT_SECTOR_SIZE), |
| 147 | #endif |
| 148 | #ifdef SQLITE_DEFAULT_SYNCHRONOUS |
dan | f5da7db | 2017-03-16 18:14:39 +0000 | [diff] [blame] | 149 | "DEFAULT_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_SYNCHRONOUS), |
| 150 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 151 | #ifdef SQLITE_DEFAULT_WAL_AUTOCHECKPOINT |
| 152 | "DEFAULT_WAL_AUTOCHECKPOINT=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_AUTOCHECKPOINT), |
| 153 | #endif |
| 154 | #ifdef SQLITE_DEFAULT_WAL_SYNCHRONOUS |
dan | f5da7db | 2017-03-16 18:14:39 +0000 | [diff] [blame] | 155 | "DEFAULT_WAL_SYNCHRONOUS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WAL_SYNCHRONOUS), |
| 156 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 157 | #ifdef SQLITE_DEFAULT_WORKER_THREADS |
| 158 | "DEFAULT_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_DEFAULT_WORKER_THREADS), |
| 159 | #endif |
dan | ceb97c1 | 2016-10-21 10:09:22 +0000 | [diff] [blame] | 160 | #if SQLITE_DIRECT_OVERFLOW_READ |
| 161 | "DIRECT_OVERFLOW_READ", |
| 162 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 163 | #if SQLITE_DISABLE_DIRSYNC |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 164 | "DISABLE_DIRSYNC", |
| 165 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 166 | #if SQLITE_DISABLE_FTS3_UNICODE |
| 167 | "DISABLE_FTS3_UNICODE", |
| 168 | #endif |
| 169 | #if SQLITE_DISABLE_FTS4_DEFERRED |
| 170 | "DISABLE_FTS4_DEFERRED", |
| 171 | #endif |
| 172 | #if SQLITE_DISABLE_INTRINSIC |
| 173 | "DISABLE_INTRINSIC", |
| 174 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 175 | #if SQLITE_DISABLE_LFS |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 176 | "DISABLE_LFS", |
| 177 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 178 | #if SQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS |
| 179 | "DISABLE_PAGECACHE_OVERFLOW_STATS", |
| 180 | #endif |
| 181 | #if SQLITE_DISABLE_SKIPAHEAD_DISTINCT |
| 182 | "DISABLE_SKIPAHEAD_DISTINCT", |
| 183 | #endif |
| 184 | #ifdef SQLITE_ENABLE_8_3_NAMES |
drh | c14566a | 2016-06-13 19:58:46 +0000 | [diff] [blame] | 185 | "ENABLE_8_3_NAMES=" CTIMEOPT_VAL(SQLITE_ENABLE_8_3_NAMES), |
drh | 7a7f688 | 2015-12-03 20:50:10 +0000 | [diff] [blame] | 186 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 187 | #if SQLITE_ENABLE_API_ARMOR |
drh | 9ca9573 | 2014-10-24 00:35:58 +0000 | [diff] [blame] | 188 | "ENABLE_API_ARMOR", |
| 189 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 190 | #if SQLITE_ENABLE_ATOMIC_WRITE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 191 | "ENABLE_ATOMIC_WRITE", |
| 192 | #endif |
drh | a66632d | 2017-07-28 01:53:32 +0000 | [diff] [blame] | 193 | #if SQLITE_ENABLE_BATCH_ATOMIC_WRITE |
| 194 | "ENABLE_BATCH_ATOMIC_WRITE", |
| 195 | #endif |
drh | 691b5c5 | 2020-03-23 15:49:22 +0000 | [diff] [blame] | 196 | #if SQLITE_ENABLE_BYTECODE_VTAB |
| 197 | "ENABLE_BYTECODE_VTAB", |
| 198 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 199 | #if SQLITE_ENABLE_CEROD |
drh | 9d03f63 | 2018-03-19 16:09:36 +0000 | [diff] [blame] | 200 | "ENABLE_CEROD=" CTIMEOPT_VAL(SQLITE_ENABLE_CEROD), |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 201 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 202 | #if SQLITE_ENABLE_COLUMN_METADATA |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 203 | "ENABLE_COLUMN_METADATA", |
| 204 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 205 | #if SQLITE_ENABLE_COLUMN_USED_MASK |
| 206 | "ENABLE_COLUMN_USED_MASK", |
| 207 | #endif |
| 208 | #if SQLITE_ENABLE_COSTMULT |
| 209 | "ENABLE_COSTMULT", |
| 210 | #endif |
| 211 | #if SQLITE_ENABLE_CURSOR_HINTS |
| 212 | "ENABLE_CURSOR_HINTS", |
| 213 | #endif |
drh | cda9a93 | 2015-05-07 20:26:20 +0000 | [diff] [blame] | 214 | #if SQLITE_ENABLE_DBSTAT_VTAB |
| 215 | "ENABLE_DBSTAT_VTAB", |
| 216 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 217 | #if SQLITE_ENABLE_EXPENSIVE_ASSERT |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 218 | "ENABLE_EXPENSIVE_ASSERT", |
| 219 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 220 | #if SQLITE_ENABLE_FTS1 |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 221 | "ENABLE_FTS1", |
| 222 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 223 | #if SQLITE_ENABLE_FTS2 |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 224 | "ENABLE_FTS2", |
| 225 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 226 | #if SQLITE_ENABLE_FTS3 |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 227 | "ENABLE_FTS3", |
| 228 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 229 | #if SQLITE_ENABLE_FTS3_PARENTHESIS |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 230 | "ENABLE_FTS3_PARENTHESIS", |
| 231 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 232 | #if SQLITE_ENABLE_FTS3_TOKENIZER |
| 233 | "ENABLE_FTS3_TOKENIZER", |
| 234 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 235 | #if SQLITE_ENABLE_FTS4 |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 236 | "ENABLE_FTS4", |
| 237 | #endif |
drh | 5006565 | 2015-10-08 19:29:18 +0000 | [diff] [blame] | 238 | #if SQLITE_ENABLE_FTS5 |
| 239 | "ENABLE_FTS5", |
| 240 | #endif |
drh | e23d05e | 2018-10-24 23:55:41 +0000 | [diff] [blame] | 241 | #if SQLITE_ENABLE_GEOPOLY |
| 242 | "ENABLE_GEOPOLY", |
| 243 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 244 | #if SQLITE_ENABLE_HIDDEN_COLUMNS |
| 245 | "ENABLE_HIDDEN_COLUMNS", |
| 246 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 247 | #if SQLITE_ENABLE_ICU |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 248 | "ENABLE_ICU", |
| 249 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 250 | #if SQLITE_ENABLE_IOTRACE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 251 | "ENABLE_IOTRACE", |
| 252 | #endif |
drh | 5006565 | 2015-10-08 19:29:18 +0000 | [diff] [blame] | 253 | #if SQLITE_ENABLE_JSON1 |
| 254 | "ENABLE_JSON1", |
| 255 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 256 | #if SQLITE_ENABLE_LOAD_EXTENSION |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 257 | "ENABLE_LOAD_EXTENSION", |
| 258 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 259 | #ifdef SQLITE_ENABLE_LOCKING_STYLE |
shaneh | 915c8bd | 2010-02-24 19:36:10 +0000 | [diff] [blame] | 260 | "ENABLE_LOCKING_STYLE=" CTIMEOPT_VAL(SQLITE_ENABLE_LOCKING_STYLE), |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 261 | #endif |
drh | f6e904b | 2020-12-07 17:15:32 +0000 | [diff] [blame] | 262 | #if SQLITE_ENABLE_MATH_FUNCTIONS |
drh | 277a30d | 2020-12-28 21:42:38 +0000 | [diff] [blame] | 263 | "ENABLE_MATH_FUNCTIONS", |
drh | f6e904b | 2020-12-07 17:15:32 +0000 | [diff] [blame] | 264 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 265 | #if SQLITE_ENABLE_MEMORY_MANAGEMENT |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 266 | "ENABLE_MEMORY_MANAGEMENT", |
| 267 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 268 | #if SQLITE_ENABLE_MEMSYS3 |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 269 | "ENABLE_MEMSYS3", |
| 270 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 271 | #if SQLITE_ENABLE_MEMSYS5 |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 272 | "ENABLE_MEMSYS5", |
| 273 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 274 | #if SQLITE_ENABLE_MULTIPLEX |
| 275 | "ENABLE_MULTIPLEX", |
| 276 | #endif |
mistachkin | 8bee11a | 2018-10-29 17:53:23 +0000 | [diff] [blame] | 277 | #if SQLITE_ENABLE_NORMALIZE |
| 278 | "ENABLE_NORMALIZE", |
| 279 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 280 | #if SQLITE_ENABLE_NULL_TRIM |
| 281 | "ENABLE_NULL_TRIM", |
| 282 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 283 | #if SQLITE_ENABLE_OVERSIZE_CELL_CHECK |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 284 | "ENABLE_OVERSIZE_CELL_CHECK", |
| 285 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 286 | #if SQLITE_ENABLE_PREUPDATE_HOOK |
| 287 | "ENABLE_PREUPDATE_HOOK", |
| 288 | #endif |
drh | c799833 | 2017-06-29 13:41:59 +0000 | [diff] [blame] | 289 | #if SQLITE_ENABLE_QPSG |
| 290 | "ENABLE_QPSG", |
| 291 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 292 | #if SQLITE_ENABLE_RBU |
| 293 | "ENABLE_RBU", |
| 294 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 295 | #if SQLITE_ENABLE_RTREE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 296 | "ENABLE_RTREE", |
| 297 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 298 | #if SQLITE_ENABLE_SELECTTRACE |
| 299 | "ENABLE_SELECTTRACE", |
| 300 | #endif |
| 301 | #if SQLITE_ENABLE_SESSION |
| 302 | "ENABLE_SESSION", |
| 303 | #endif |
| 304 | #if SQLITE_ENABLE_SNAPSHOT |
| 305 | "ENABLE_SNAPSHOT", |
| 306 | #endif |
drh | bbade8d | 2018-04-18 14:48:08 +0000 | [diff] [blame] | 307 | #if SQLITE_ENABLE_SORTER_REFERENCES |
| 308 | "ENABLE_SORTER_REFERENCES", |
| 309 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 310 | #if SQLITE_ENABLE_SQLLOG |
| 311 | "ENABLE_SQLLOG", |
| 312 | #endif |
dan | 8ad169a | 2013-08-12 20:14:04 +0000 | [diff] [blame] | 313 | #if defined(SQLITE_ENABLE_STAT4) |
dan | f52bb8d | 2013-08-03 20:24:58 +0000 | [diff] [blame] | 314 | "ENABLE_STAT4", |
drh | faacf17 | 2011-08-12 01:51:45 +0000 | [diff] [blame] | 315 | #endif |
drh | c6603af | 2017-06-29 14:33:51 +0000 | [diff] [blame] | 316 | #if SQLITE_ENABLE_STMTVTAB |
| 317 | "ENABLE_STMTVTAB", |
drh | c799833 | 2017-06-29 13:41:59 +0000 | [diff] [blame] | 318 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 319 | #if SQLITE_ENABLE_STMT_SCANSTATUS |
| 320 | "ENABLE_STMT_SCANSTATUS", |
| 321 | #endif |
| 322 | #if SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION |
| 323 | "ENABLE_UNKNOWN_SQL_FUNCTION", |
| 324 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 325 | #if SQLITE_ENABLE_UNLOCK_NOTIFY |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 326 | "ENABLE_UNLOCK_NOTIFY", |
| 327 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 328 | #if SQLITE_ENABLE_UPDATE_DELETE_LIMIT |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 329 | "ENABLE_UPDATE_DELETE_LIMIT", |
| 330 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 331 | #if SQLITE_ENABLE_URI_00_ERROR |
dan | 5c35e90 | 2016-10-26 12:15:41 +0000 | [diff] [blame] | 332 | "ENABLE_URI_00_ERROR", |
| 333 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 334 | #if SQLITE_ENABLE_VFSTRACE |
| 335 | "ENABLE_VFSTRACE", |
| 336 | #endif |
| 337 | #if SQLITE_ENABLE_WHERETRACE |
| 338 | "ENABLE_WHERETRACE", |
| 339 | #endif |
| 340 | #if SQLITE_ENABLE_ZIPVFS |
| 341 | "ENABLE_ZIPVFS", |
| 342 | #endif |
| 343 | #if SQLITE_EXPLAIN_ESTIMATED_ROWS |
| 344 | "EXPLAIN_ESTIMATED_ROWS", |
| 345 | #endif |
| 346 | #if SQLITE_EXTRA_IFNULLROW |
| 347 | "EXTRA_IFNULLROW", |
| 348 | #endif |
| 349 | #ifdef SQLITE_EXTRA_INIT |
| 350 | "EXTRA_INIT=" CTIMEOPT_VAL(SQLITE_EXTRA_INIT), |
| 351 | #endif |
| 352 | #ifdef SQLITE_EXTRA_SHUTDOWN |
| 353 | "EXTRA_SHUTDOWN=" CTIMEOPT_VAL(SQLITE_EXTRA_SHUTDOWN), |
| 354 | #endif |
| 355 | #ifdef SQLITE_FTS3_MAX_EXPR_DEPTH |
| 356 | "FTS3_MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_FTS3_MAX_EXPR_DEPTH), |
| 357 | #endif |
| 358 | #if SQLITE_FTS5_ENABLE_TEST_MI |
| 359 | "FTS5_ENABLE_TEST_MI", |
| 360 | #endif |
| 361 | #if SQLITE_FTS5_NO_WITHOUT_ROWID |
| 362 | "FTS5_NO_WITHOUT_ROWID", |
| 363 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 364 | #if HAVE_ISNAN || SQLITE_HAVE_ISNAN |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 365 | "HAVE_ISNAN", |
| 366 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 367 | #if SQLITE_HOMEGROWN_RECURSIVE_MUTEX |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 368 | "HOMEGROWN_RECURSIVE_MUTEX", |
| 369 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 370 | #if SQLITE_IGNORE_AFP_LOCK_ERRORS |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 371 | "IGNORE_AFP_LOCK_ERRORS", |
| 372 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 373 | #if SQLITE_IGNORE_FLOCK_LOCK_ERRORS |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 374 | "IGNORE_FLOCK_LOCK_ERRORS", |
| 375 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 376 | #if SQLITE_INLINE_MEMCPY |
| 377 | "INLINE_MEMCPY", |
| 378 | #endif |
| 379 | #if SQLITE_INT64_TYPE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 380 | "INT64_TYPE", |
| 381 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 382 | #ifdef SQLITE_INTEGRITY_CHECK_ERROR_MAX |
| 383 | "INTEGRITY_CHECK_ERROR_MAX=" CTIMEOPT_VAL(SQLITE_INTEGRITY_CHECK_ERROR_MAX), |
| 384 | #endif |
| 385 | #if SQLITE_LIKE_DOESNT_MATCH_BLOBS |
drh | 41d2e66 | 2015-12-01 21:23:07 +0000 | [diff] [blame] | 386 | "LIKE_DOESNT_MATCH_BLOBS", |
| 387 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 388 | #if SQLITE_LOCK_TRACE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 389 | "LOCK_TRACE", |
| 390 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 391 | #if SQLITE_LOG_CACHE_SPILL |
| 392 | "LOG_CACHE_SPILL", |
| 393 | #endif |
| 394 | #ifdef SQLITE_MALLOC_SOFT_LIMIT |
| 395 | "MALLOC_SOFT_LIMIT=" CTIMEOPT_VAL(SQLITE_MALLOC_SOFT_LIMIT), |
| 396 | #endif |
| 397 | #ifdef SQLITE_MAX_ATTACHED |
| 398 | "MAX_ATTACHED=" CTIMEOPT_VAL(SQLITE_MAX_ATTACHED), |
| 399 | #endif |
| 400 | #ifdef SQLITE_MAX_COLUMN |
| 401 | "MAX_COLUMN=" CTIMEOPT_VAL(SQLITE_MAX_COLUMN), |
| 402 | #endif |
| 403 | #ifdef SQLITE_MAX_COMPOUND_SELECT |
| 404 | "MAX_COMPOUND_SELECT=" CTIMEOPT_VAL(SQLITE_MAX_COMPOUND_SELECT), |
| 405 | #endif |
| 406 | #ifdef SQLITE_MAX_DEFAULT_PAGE_SIZE |
| 407 | "MAX_DEFAULT_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_DEFAULT_PAGE_SIZE), |
| 408 | #endif |
| 409 | #ifdef SQLITE_MAX_EXPR_DEPTH |
| 410 | "MAX_EXPR_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_EXPR_DEPTH), |
| 411 | #endif |
| 412 | #ifdef SQLITE_MAX_FUNCTION_ARG |
| 413 | "MAX_FUNCTION_ARG=" CTIMEOPT_VAL(SQLITE_MAX_FUNCTION_ARG), |
| 414 | #endif |
| 415 | #ifdef SQLITE_MAX_LENGTH |
| 416 | "MAX_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LENGTH), |
| 417 | #endif |
| 418 | #ifdef SQLITE_MAX_LIKE_PATTERN_LENGTH |
| 419 | "MAX_LIKE_PATTERN_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_LIKE_PATTERN_LENGTH), |
| 420 | #endif |
| 421 | #ifdef SQLITE_MAX_MEMORY |
| 422 | "MAX_MEMORY=" CTIMEOPT_VAL(SQLITE_MAX_MEMORY), |
| 423 | #endif |
| 424 | #ifdef SQLITE_MAX_MMAP_SIZE |
drh | 9b4c59f | 2013-04-15 17:03:42 +0000 | [diff] [blame] | 425 | "MAX_MMAP_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE), |
| 426 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 427 | #ifdef SQLITE_MAX_MMAP_SIZE_ |
| 428 | "MAX_MMAP_SIZE_=" CTIMEOPT_VAL(SQLITE_MAX_MMAP_SIZE_), |
| 429 | #endif |
| 430 | #ifdef SQLITE_MAX_PAGE_COUNT |
| 431 | "MAX_PAGE_COUNT=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_COUNT), |
| 432 | #endif |
| 433 | #ifdef SQLITE_MAX_PAGE_SIZE |
| 434 | "MAX_PAGE_SIZE=" CTIMEOPT_VAL(SQLITE_MAX_PAGE_SIZE), |
| 435 | #endif |
drh | 5a201fb | 2011-08-31 20:47:50 +0000 | [diff] [blame] | 436 | #ifdef SQLITE_MAX_SCHEMA_RETRY |
| 437 | "MAX_SCHEMA_RETRY=" CTIMEOPT_VAL(SQLITE_MAX_SCHEMA_RETRY), |
| 438 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 439 | #ifdef SQLITE_MAX_SQL_LENGTH |
| 440 | "MAX_SQL_LENGTH=" CTIMEOPT_VAL(SQLITE_MAX_SQL_LENGTH), |
| 441 | #endif |
| 442 | #ifdef SQLITE_MAX_TRIGGER_DEPTH |
| 443 | "MAX_TRIGGER_DEPTH=" CTIMEOPT_VAL(SQLITE_MAX_TRIGGER_DEPTH), |
| 444 | #endif |
| 445 | #ifdef SQLITE_MAX_VARIABLE_NUMBER |
| 446 | "MAX_VARIABLE_NUMBER=" CTIMEOPT_VAL(SQLITE_MAX_VARIABLE_NUMBER), |
| 447 | #endif |
| 448 | #ifdef SQLITE_MAX_VDBE_OP |
| 449 | "MAX_VDBE_OP=" CTIMEOPT_VAL(SQLITE_MAX_VDBE_OP), |
| 450 | #endif |
| 451 | #ifdef SQLITE_MAX_WORKER_THREADS |
| 452 | "MAX_WORKER_THREADS=" CTIMEOPT_VAL(SQLITE_MAX_WORKER_THREADS), |
| 453 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 454 | #if SQLITE_MEMDEBUG |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 455 | "MEMDEBUG", |
| 456 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 457 | #if SQLITE_MIXED_ENDIAN_64BIT_FLOAT |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 458 | "MIXED_ENDIAN_64BIT_FLOAT", |
| 459 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 460 | #if SQLITE_MMAP_READWRITE |
| 461 | "MMAP_READWRITE", |
| 462 | #endif |
| 463 | #if SQLITE_MUTEX_NOOP |
| 464 | "MUTEX_NOOP", |
| 465 | #endif |
| 466 | #if SQLITE_MUTEX_NREF |
| 467 | "MUTEX_NREF", |
| 468 | #endif |
| 469 | #if SQLITE_MUTEX_OMIT |
| 470 | "MUTEX_OMIT", |
| 471 | #endif |
| 472 | #if SQLITE_MUTEX_PTHREADS |
| 473 | "MUTEX_PTHREADS", |
| 474 | #endif |
| 475 | #if SQLITE_MUTEX_W32 |
| 476 | "MUTEX_W32", |
| 477 | #endif |
| 478 | #if SQLITE_NEED_ERR_NAME |
| 479 | "NEED_ERR_NAME", |
| 480 | #endif |
| 481 | #if SQLITE_NOINLINE |
| 482 | "NOINLINE", |
| 483 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 484 | #if SQLITE_NO_SYNC |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 485 | "NO_SYNC", |
| 486 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 487 | #if SQLITE_OMIT_ALTERTABLE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 488 | "OMIT_ALTERTABLE", |
| 489 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 490 | #if SQLITE_OMIT_ANALYZE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 491 | "OMIT_ANALYZE", |
| 492 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 493 | #if SQLITE_OMIT_ATTACH |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 494 | "OMIT_ATTACH", |
| 495 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 496 | #if SQLITE_OMIT_AUTHORIZATION |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 497 | "OMIT_AUTHORIZATION", |
| 498 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 499 | #if SQLITE_OMIT_AUTOINCREMENT |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 500 | "OMIT_AUTOINCREMENT", |
| 501 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 502 | #if SQLITE_OMIT_AUTOINIT |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 503 | "OMIT_AUTOINIT", |
| 504 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 505 | #if SQLITE_OMIT_AUTOMATIC_INDEX |
drh | c633908 | 2010-04-07 16:54:58 +0000 | [diff] [blame] | 506 | "OMIT_AUTOMATIC_INDEX", |
| 507 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 508 | #if SQLITE_OMIT_AUTORESET |
drh | 602acb4 | 2011-01-17 17:42:37 +0000 | [diff] [blame] | 509 | "OMIT_AUTORESET", |
| 510 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 511 | #if SQLITE_OMIT_AUTOVACUUM |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 512 | "OMIT_AUTOVACUUM", |
| 513 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 514 | #if SQLITE_OMIT_BETWEEN_OPTIMIZATION |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 515 | "OMIT_BETWEEN_OPTIMIZATION", |
| 516 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 517 | #if SQLITE_OMIT_BLOB_LITERAL |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 518 | "OMIT_BLOB_LITERAL", |
| 519 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 520 | #if SQLITE_OMIT_CAST |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 521 | "OMIT_CAST", |
| 522 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 523 | #if SQLITE_OMIT_CHECK |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 524 | "OMIT_CHECK", |
| 525 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 526 | #if SQLITE_OMIT_COMPLETE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 527 | "OMIT_COMPLETE", |
| 528 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 529 | #if SQLITE_OMIT_COMPOUND_SELECT |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 530 | "OMIT_COMPOUND_SELECT", |
| 531 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 532 | #if SQLITE_OMIT_CONFLICT_CLAUSE |
| 533 | "OMIT_CONFLICT_CLAUSE", |
| 534 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 535 | #if SQLITE_OMIT_CTE |
dan | 03af216 | 2014-03-05 17:29:34 +0000 | [diff] [blame] | 536 | "OMIT_CTE", |
| 537 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 538 | #if SQLITE_OMIT_DATETIME_FUNCS |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 539 | "OMIT_DATETIME_FUNCS", |
| 540 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 541 | #if SQLITE_OMIT_DECLTYPE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 542 | "OMIT_DECLTYPE", |
| 543 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 544 | #if SQLITE_OMIT_DEPRECATED |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 545 | "OMIT_DEPRECATED", |
| 546 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 547 | #if SQLITE_OMIT_DISKIO |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 548 | "OMIT_DISKIO", |
| 549 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 550 | #if SQLITE_OMIT_EXPLAIN |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 551 | "OMIT_EXPLAIN", |
| 552 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 553 | #if SQLITE_OMIT_FLAG_PRAGMAS |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 554 | "OMIT_FLAG_PRAGMAS", |
| 555 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 556 | #if SQLITE_OMIT_FLOATING_POINT |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 557 | "OMIT_FLOATING_POINT", |
| 558 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 559 | #if SQLITE_OMIT_FOREIGN_KEY |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 560 | "OMIT_FOREIGN_KEY", |
| 561 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 562 | #if SQLITE_OMIT_GET_TABLE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 563 | "OMIT_GET_TABLE", |
| 564 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 565 | #if SQLITE_OMIT_HEX_INTEGER |
| 566 | "OMIT_HEX_INTEGER", |
| 567 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 568 | #if SQLITE_OMIT_INCRBLOB |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 569 | "OMIT_INCRBLOB", |
| 570 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 571 | #if SQLITE_OMIT_INTEGRITY_CHECK |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 572 | "OMIT_INTEGRITY_CHECK", |
| 573 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 574 | #if SQLITE_OMIT_LIKE_OPTIMIZATION |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 575 | "OMIT_LIKE_OPTIMIZATION", |
| 576 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 577 | #if SQLITE_OMIT_LOAD_EXTENSION |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 578 | "OMIT_LOAD_EXTENSION", |
| 579 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 580 | #if SQLITE_OMIT_LOCALTIME |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 581 | "OMIT_LOCALTIME", |
| 582 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 583 | #if SQLITE_OMIT_LOOKASIDE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 584 | "OMIT_LOOKASIDE", |
| 585 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 586 | #if SQLITE_OMIT_MEMORYDB |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 587 | "OMIT_MEMORYDB", |
| 588 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 589 | #if SQLITE_OMIT_OR_OPTIMIZATION |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 590 | "OMIT_OR_OPTIMIZATION", |
| 591 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 592 | #if SQLITE_OMIT_PAGER_PRAGMAS |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 593 | "OMIT_PAGER_PRAGMAS", |
| 594 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 595 | #if SQLITE_OMIT_PARSER_TRACE |
| 596 | "OMIT_PARSER_TRACE", |
| 597 | #endif |
| 598 | #if SQLITE_OMIT_POPEN |
| 599 | "OMIT_POPEN", |
| 600 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 601 | #if SQLITE_OMIT_PRAGMA |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 602 | "OMIT_PRAGMA", |
| 603 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 604 | #if SQLITE_OMIT_PROGRESS_CALLBACK |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 605 | "OMIT_PROGRESS_CALLBACK", |
| 606 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 607 | #if SQLITE_OMIT_QUICKBALANCE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 608 | "OMIT_QUICKBALANCE", |
| 609 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 610 | #if SQLITE_OMIT_REINDEX |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 611 | "OMIT_REINDEX", |
| 612 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 613 | #if SQLITE_OMIT_SCHEMA_PRAGMAS |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 614 | "OMIT_SCHEMA_PRAGMAS", |
| 615 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 616 | #if SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 617 | "OMIT_SCHEMA_VERSION_PRAGMAS", |
| 618 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 619 | #if SQLITE_OMIT_SHARED_CACHE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 620 | "OMIT_SHARED_CACHE", |
| 621 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 622 | #if SQLITE_OMIT_SHUTDOWN_DIRECTORIES |
| 623 | "OMIT_SHUTDOWN_DIRECTORIES", |
| 624 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 625 | #if SQLITE_OMIT_SUBQUERY |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 626 | "OMIT_SUBQUERY", |
| 627 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 628 | #if SQLITE_OMIT_TCL_VARIABLE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 629 | "OMIT_TCL_VARIABLE", |
| 630 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 631 | #if SQLITE_OMIT_TEMPDB |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 632 | "OMIT_TEMPDB", |
| 633 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 634 | #if SQLITE_OMIT_TEST_CONTROL |
| 635 | "OMIT_TEST_CONTROL", |
| 636 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 637 | #if SQLITE_OMIT_TRACE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 638 | "OMIT_TRACE", |
| 639 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 640 | #if SQLITE_OMIT_TRIGGER |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 641 | "OMIT_TRIGGER", |
| 642 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 643 | #if SQLITE_OMIT_TRUNCATE_OPTIMIZATION |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 644 | "OMIT_TRUNCATE_OPTIMIZATION", |
| 645 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 646 | #if SQLITE_OMIT_UTF16 |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 647 | "OMIT_UTF16", |
| 648 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 649 | #if SQLITE_OMIT_VACUUM |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 650 | "OMIT_VACUUM", |
| 651 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 652 | #if SQLITE_OMIT_VIEW |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 653 | "OMIT_VIEW", |
| 654 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 655 | #if SQLITE_OMIT_VIRTUALTABLE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 656 | "OMIT_VIRTUALTABLE", |
| 657 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 658 | #if SQLITE_OMIT_WAL |
drh | 4d9a7bf | 2010-07-07 01:52:31 +0000 | [diff] [blame] | 659 | "OMIT_WAL", |
| 660 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 661 | #if SQLITE_OMIT_WSD |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 662 | "OMIT_WSD", |
| 663 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 664 | #if SQLITE_OMIT_XFER_OPT |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 665 | "OMIT_XFER_OPT", |
| 666 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 667 | #if SQLITE_PCACHE_SEPARATE_HEADER |
| 668 | "PCACHE_SEPARATE_HEADER", |
| 669 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 670 | #if SQLITE_PERFORMANCE_TRACE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 671 | "PERFORMANCE_TRACE", |
| 672 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 673 | #if SQLITE_POWERSAFE_OVERWRITE |
| 674 | "POWERSAFE_OVERWRITE", |
| 675 | #endif |
| 676 | #if SQLITE_PREFER_PROXY_LOCKING |
| 677 | "PREFER_PROXY_LOCKING", |
| 678 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 679 | #if SQLITE_PROXY_DEBUG |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 680 | "PROXY_DEBUG", |
| 681 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 682 | #if SQLITE_REVERSE_UNORDERED_SELECTS |
| 683 | "REVERSE_UNORDERED_SELECTS", |
| 684 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 685 | #if SQLITE_RTREE_INT_ONLY |
drh | df32414 | 2012-09-13 12:10:55 +0000 | [diff] [blame] | 686 | "RTREE_INT_ONLY", |
| 687 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 688 | #if SQLITE_SECURE_DELETE |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 689 | "SECURE_DELETE", |
| 690 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 691 | #if SQLITE_SMALL_STACK |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 692 | "SMALL_STACK", |
| 693 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 694 | #ifdef SQLITE_SORTER_PMASZ |
| 695 | "SORTER_PMASZ=" CTIMEOPT_VAL(SQLITE_SORTER_PMASZ), |
| 696 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 697 | #if SQLITE_SOUNDEX |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 698 | "SOUNDEX", |
| 699 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 700 | #ifdef SQLITE_STAT4_SAMPLES |
| 701 | "STAT4_SAMPLES=" CTIMEOPT_VAL(SQLITE_STAT4_SAMPLES), |
| 702 | #endif |
| 703 | #ifdef SQLITE_STMTJRNL_SPILL |
| 704 | "STMTJRNL_SPILL=" CTIMEOPT_VAL(SQLITE_STMTJRNL_SPILL), |
| 705 | #endif |
| 706 | #if SQLITE_SUBSTR_COMPATIBILITY |
| 707 | "SUBSTR_COMPATIBILITY", |
| 708 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 709 | #if SQLITE_SYSTEM_MALLOC |
mistachkin | 1fa85a1 | 2013-12-03 22:32:48 +0000 | [diff] [blame] | 710 | "SYSTEM_MALLOC", |
| 711 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 712 | #if SQLITE_TCL |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 713 | "TCL", |
| 714 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 715 | #ifdef SQLITE_TEMP_STORE |
shaneh | 915c8bd | 2010-02-24 19:36:10 +0000 | [diff] [blame] | 716 | "TEMP_STORE=" CTIMEOPT_VAL(SQLITE_TEMP_STORE), |
| 717 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 718 | #if SQLITE_TEST |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 719 | "TEST", |
| 720 | #endif |
dan | 814aad6 | 2017-06-17 17:29:24 +0000 | [diff] [blame] | 721 | #if defined(SQLITE_THREADSAFE) |
shaneh | 915c8bd | 2010-02-24 19:36:10 +0000 | [diff] [blame] | 722 | "THREADSAFE=" CTIMEOPT_VAL(SQLITE_THREADSAFE), |
dan | 814aad6 | 2017-06-17 17:29:24 +0000 | [diff] [blame] | 723 | #elif defined(THREADSAFE) |
| 724 | "THREADSAFE=" CTIMEOPT_VAL(THREADSAFE), |
| 725 | #else |
drh | 40db2fd | 2017-06-17 18:49:50 +0000 | [diff] [blame] | 726 | "THREADSAFE=1", |
shaneh | 915c8bd | 2010-02-24 19:36:10 +0000 | [diff] [blame] | 727 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 728 | #if SQLITE_UNLINK_AFTER_CLOSE |
| 729 | "UNLINK_AFTER_CLOSE", |
| 730 | #endif |
drh | 4ed8c83 | 2016-12-07 17:06:12 +0000 | [diff] [blame] | 731 | #if SQLITE_UNTESTABLE |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 732 | "UNTESTABLE", |
| 733 | #endif |
| 734 | #if SQLITE_USER_AUTHENTICATION |
| 735 | "USER_AUTHENTICATION", |
drh | 4ed8c83 | 2016-12-07 17:06:12 +0000 | [diff] [blame] | 736 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 737 | #if SQLITE_USE_ALLOCA |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 738 | "USE_ALLOCA", |
| 739 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 740 | #if SQLITE_USE_FCNTL_TRACE |
| 741 | "USE_FCNTL_TRACE", |
| 742 | #endif |
| 743 | #if SQLITE_USE_URI |
| 744 | "USE_URI", |
| 745 | #endif |
| 746 | #if SQLITE_VDBE_COVERAGE |
| 747 | "VDBE_COVERAGE", |
drh | 09e6054 | 2014-09-10 22:46:46 +0000 | [diff] [blame] | 748 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 749 | #if SQLITE_WIN32_MALLOC |
mistachkin | 1fa85a1 | 2013-12-03 22:32:48 +0000 | [diff] [blame] | 750 | "WIN32_MALLOC", |
| 751 | #endif |
drh | 0ede9eb | 2015-01-10 16:49:23 +0000 | [diff] [blame] | 752 | #if SQLITE_ZERO_MALLOC |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 753 | "ZERO_MALLOC", |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 754 | #endif |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 755 | /* |
| 756 | ** END CODE GENERATED BY tool/mkctime.tcl |
| 757 | */ |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 758 | }; |
| 759 | |
dan | da1f49b | 2017-06-16 19:51:47 +0000 | [diff] [blame] | 760 | const char **sqlite3CompileOptions(int *pnOpt){ |
drh | f383f35 | 2017-06-20 18:19:16 +0000 | [diff] [blame] | 761 | *pnOpt = sizeof(sqlite3azCompileOpt) / sizeof(sqlite3azCompileOpt[0]); |
| 762 | return (const char**)sqlite3azCompileOpt; |
shaneh | dc97a8c | 2010-02-23 20:08:35 +0000 | [diff] [blame] | 763 | } |
| 764 | |
| 765 | #endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */ |