SQLite Forum

undefined symbol _sqlite3_normalized_sql
Login

undefined symbol _sqlite3_normalized_sql

(1) By anonymous on 2021-06-23 12:14:40 [link] [source]

The documentation for sqlite3_normalized_sql makes no mention of the function's availability based on compile-time settings.

Using version 3.36.0 of the amalgamation, sqlite3_normalized_sql is declared without any conditional guards at line 4166 in sqlite3.h. However, the function's implementation is only included if SQLITE_ENABLE_NORMALIZE is defined (line 85933 in sqlite3.c). However, that flag does not seem to be defined in the amalgamation and it isn't mentioned on the compile-time options page.

Should SQLITE_ENABLE_NORMALIZE be defined in the amalgamation or should the prototype have a conditional guard in the header?

(2.1) By Larry Brasfield (larrybr) on 2021-06-23 17:44:39 edited from 2.0 in reply to 1 [source]

Thanks for pointing this out. It has been corrected.