Quick Summary:
"PRAGMA compile_options" does not return certain compilation options,
despite them being defined for the build. (ex: SQLITE_ENABLE_PREUPDATE_HOOK)

Details:
azCompileOpt[] in ctime.c is missing an entry for several compilation
options, including:

SQLITE_ENABLE_PREUPDATE_HOOK
SQLITE_ENABLE_SESSION
SQLITE_ALLOW_URI_AUTHORITY
SQLITE_ENABLE_EXPLAIN_COMMENTS
SQLITE_ENABLE_FTS3_TOKENIZER
SQLITE_ENABLE_RBU
SQLITE_ENABLE_STMT_SCANSTATUS
SQLITE_ENABLE_SQLLOG
SQLITE_USE_FCNTL_TRACE
SQLITE_DISABLE_FTS3_UNICODE
SQLITE_DISABLE_FTS4_DEFERRED
(Via a quick comparison. There may be others.)

Noticed this when "PRAGMA compile_options" did not return everything that
was anticipated.

Steps to Reproduce:
-Build SQLite with one or more of the affected compilation options defined
(ex: SQLITE_ENABLE_PREUPDATE_HOOK).
-Execute "PRAGMA compile_options" on a new database connection.

Expected Result:
-All compilation options that were defined will be returned (ex: including
ENABLE_PREUPDATE_HOOK).

Actual Result:
-The returned compilation options are missing certain entries (ex:
ENABLE_PREUPDATE_HOOK).

Version Tested:
-SQLite 3.13.0
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to