SQLite Forum

undefined symbol _sqlite3_normalized_sql
Login
The [documentation](https://sqlite.org/c3ref/expanded_sql.html) 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](https://sqlite.org/compile.html) page.

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