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