sqlite3_compileoption_used() now meaningless for some macros
(1) By Ralf on 2021-12-03 18:14:24 [link] [source]
As of https://www.sqlite.org/src/info/e306952690bfb140, sqlite3_compileoption_used() no longer has distinctive meaning for the following macros. Even if not defined at compile time, they are automatically #defined with default values in code so sqlite3_compileoption_used() always returns true:
- SQLITE_DEFAULT_AUTOVACUUM
- SQLITE_DEFAULT_CACHE_SIZE
- SQLITE_DEFAULT_FILE_FORMAT
- SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT
- SQLITE_DEFAULT_MMAP_SIZE
- SQLITE_MAX_MMAP_SIZE
- SQLITE_TEMP_STORE
(2) By Larry Brasfield (larrybr) on 2021-12-03 19:29:55 in reply to 1 [source]
I will look into this. It goes against intention for anything in the sqlite3_compileoption_used() output to carry no real information.