diff options
author | mattn <mattn.jp@gmail.com> | 2018-12-18 12:04:05 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-18 12:04:05 +0900 |
commit | 87ac1cb49789a0ef6b0d7be6b7aa458a9b90d7ae (patch) | |
tree | 5cae54cab4b09ac121194104216a9467a11b36ae /sqlite3ext.h | |
parent | Merge pull request #673 from rittneje/revert-671 (diff) | |
parent | upgrade amalgamation code (diff) | |
download | golite-87ac1cb49789a0ef6b0d7be6b7aa458a9b90d7ae.tar.gz golite-87ac1cb49789a0ef6b0d7be6b7aa458a9b90d7ae.tar.xz |
Merge pull request #675 from mattn/sqlite-amalgamation-3260000
upgrade amalgamation code
Diffstat (limited to 'sqlite3ext.h')
-rw-r--r-- | sqlite3ext.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sqlite3ext.h b/sqlite3ext.h index 50e6866..394e12f 100644 --- a/sqlite3ext.h +++ b/sqlite3ext.h @@ -311,12 +311,15 @@ struct sqlite3_api_routines { int (*str_errcode)(sqlite3_str*); int (*str_length)(sqlite3_str*); char *(*str_value)(sqlite3_str*); + /* Version 3.25.0 and later */ int (*create_window_function)(sqlite3*,const char*,int,int,void*, void (*xStep)(sqlite3_context*,int,sqlite3_value**), void (*xFinal)(sqlite3_context*), void (*xValue)(sqlite3_context*), void (*xInv)(sqlite3_context*,int,sqlite3_value**), void(*xDestroy)(void*)); + /* Version 3.26.0 and later */ + const char *(*normalized_sql)(sqlite3_stmt*); }; /* @@ -604,6 +607,8 @@ typedef int (*sqlite3_loadext_entry)( #define sqlite3_str_value sqlite3_api->str_value /* Version 3.25.0 and later */ #define sqlite3_create_window_function sqlite3_api->create_window_function +/* Version 3.26.0 and later */ +#define sqlite3_normalized_sql sqlite3_api->normalized_sql #endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ #if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) |