aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlarrybr <larrybr@noemail.net>2021-06-23 17:41:38 +0000
committerlarrybr <larrybr@noemail.net>2021-06-23 17:41:38 +0000
commitc06836c3b1461afcadfb68b20cbf41f0c41d3105 (patch)
tree01d98d92e2c652ee2d0434fa1f997a75772bcb9c /src
parent10496f765752e4d2d89700360b2f172e11ae392d (diff)
downloadsqlite-c06836c3b1461afcadfb68b20cbf41f0c41d3105.tar.gz
sqlite-c06836c3b1461afcadfb68b20cbf41f0c41d3105.zip
Make conditional nature of sqlite3_normalized_sql() better known.
FossilOrigin-Name: 0e0ece7111945d61278e60385f883303b593ed0d64beeb951b9c49f243531628
Diffstat (limited to 'src')
-rw-r--r--src/sqlite.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in
index 28c4bf01e..553dc8aea 100644
--- a/src/sqlite.h.in
+++ b/src/sqlite.h.in
@@ -4169,10 +4169,15 @@ int sqlite3_prepare16_v3(
** ^The string returned by sqlite3_expanded_sql(P), on the other hand,
** is obtained from [sqlite3_malloc()] and must be free by the application
** by passing it to [sqlite3_free()].
+**
+** ^The sqlite3_normalized_sql() interface is only available if
+** the [SQLITE_ENABLE_NORMALIZE] compile-time option is defined.
*/
const char *sqlite3_sql(sqlite3_stmt *pStmt);
char *sqlite3_expanded_sql(sqlite3_stmt *pStmt);
+#ifdef SQLITE_ENABLE_NORMALIZE
const char *sqlite3_normalized_sql(sqlite3_stmt *pStmt);
+#endif
/*
** CAPI3REF: Determine If An SQL Statement Writes The Database