diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-04-24 16:55:17 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-04-24 16:55:17 +0900 |
commit | 4bbd87b29d3fa52883767c4208e7f479981a5c57 (patch) | |
tree | b19eea32f6a8c9006dcedf138f7c508e7620b472 /sqlite3ext.h | |
parent | Merge pull request #702 from mattn/sqlite-amalgamation-3270200 (diff) | |
download | golite-4bbd87b29d3fa52883767c4208e7f479981a5c57.tar.gz golite-4bbd87b29d3fa52883767c4208e7f479981a5c57.tar.xz |
upgrade amalgamation code
Diffstat (limited to 'sqlite3ext.h')
-rw-r--r-- | sqlite3ext.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sqlite3ext.h b/sqlite3ext.h index 394e12f..dd515d7 100644 --- a/sqlite3ext.h +++ b/sqlite3ext.h @@ -320,6 +320,9 @@ struct sqlite3_api_routines { void(*xDestroy)(void*)); /* Version 3.26.0 and later */ const char *(*normalized_sql)(sqlite3_stmt*); + /* Version 3.28.0 and later */ + int (*stmt_isexplain)(sqlite3_stmt*); + int (*value_frombind)(sqlite3_value*); }; /* @@ -609,6 +612,9 @@ typedef int (*sqlite3_loadext_entry)( #define sqlite3_create_window_function sqlite3_api->create_window_function /* Version 3.26.0 and later */ #define sqlite3_normalized_sql sqlite3_api->normalized_sql +/* Version 3.28.0 and later */ +#define sqlite3_stmt_isexplain sqlite3_api->isexplain +#define sqlite3_value_frombind sqlite3_api->frombind #endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ #if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) |