PRAGMA compile_options
This pragma returns the names of compile-time options used when building SQLite, one option per row.
PRAGMA compile_options;
On the sample database
What PRAGMA compile_options returns on the sample database, in SQLite 3.54.1 as built for the browser by sql.js (the first 12 of 44 rows):
| compile_options |
|---|
| ATOMIC_INTRINSICS=1 |
| COMPILER=clang-24.0.0 |
| DEFAULT_AUTOVACUUM |
| DEFAULT_CACHE_SIZE=-2000 |
| DEFAULT_FILE_FORMAT=4 |
| DEFAULT_JOURNAL_SIZE_LIMIT=-1 |
| DEFAULT_MMAP_SIZE=0 |
| DEFAULT_PAGE_SIZE=4096 |
| DEFAULT_PCACHE_INITSZ=20 |
| DEFAULT_RECURSIVE_TRIGGERS |
| DEFAULT_SECTOR_SIZE=4096 |
| DEFAULT_SYNCHRONOUS=2 |
What the SQLite documentation says
This pragma returns the names of compile-time options used when building SQLite, one option per row. The "SQLITE_" prefix is omitted from the returned option names. See also the sqlite3_compileoption_get() C/C++ interface and the sqlite_compileoption_get() SQL functions.
From sqlite.org's pragma documentation for SQLite 3.54.1, in the public domain.
← collation_list · count_changes →