aboutsummaryrefslogtreecommitdiff
path: root/src/sqlite3ext.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-07-14 01:09:08 +0000
committerdrh <drh@noemail.net>2016-07-14 01:09:08 +0000
commitfca760c841227207bb8dd0dd43fb89a100ca18fb (patch)
tree13645263d34c09ad8116e60f35fcc39fb0cf3a6d /src/sqlite3ext.h
parent1637a5171f25bd6d5eb4e04dc855776c3af2c1da (diff)
downloadsqlite-fca760c841227207bb8dd0dd43fb89a100ca18fb.tar.gz
sqlite-fca760c841227207bb8dd0dd43fb89a100ca18fb.zip
Add the sqlite3_expanded_sql() interface. Refinements to the
sqlite3_trace_v2() interface to make it more useful. FossilOrigin-Name: 99ee7ee58d45b29a0000492306ddc0b90563ff51
Diffstat (limited to 'src/sqlite3ext.h')
-rw-r--r--src/sqlite3ext.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sqlite3ext.h b/src/sqlite3ext.h
index 8bcfc6852..4d5023292 100644
--- a/src/sqlite3ext.h
+++ b/src/sqlite3ext.h
@@ -282,8 +282,8 @@ struct sqlite3_api_routines {
/* Version 3.12.0 and later */
int (*system_errno)(sqlite3*);
/* Version 3.14.0 and later */
- int (*trace_v2)(sqlite3*,int(*)(unsigned,void*,void*,sqlite3_uint64),
- unsigned,void*);
+ int (*trace_v2)(sqlite3*,int(*)(unsigned,void*,void*,void*),unsigned,void*);
+ char *(*expanded_sql)(sqlite3_stmt*);
};
/*
@@ -531,6 +531,7 @@ struct sqlite3_api_routines {
#define sqlite3_system_errno sqlite3_api->system_errno
/* Version 3.14.0 and later */
#define sqlite3_trace_v2 sqlite3_api->trace_v2
+#define sqlite3_expanded_sql sqlite3_api->expanded_sql
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)