summaryrefslogtreecommitdiff
path: root/dist/orig/sqlite3ext.h
diff options
context:
space:
mode:
authorAlex Naidis <alex.naidis@linux.com>2017-03-31 14:12:35 +0200
committerAlex Naidis <alex.naidis@linux.com>2017-03-31 14:55:21 +0200
commitb86c0cf2300ba27af03e33f64a4c73be84a4c8a2 (patch)
treed5b7523d49c2f7cd735f9b71bc250ed6232babfd /dist/orig/sqlite3ext.h
parent533c53ff5ce928867e2aa0f976160bf13c59b81f (diff)
sqlite: Upgrade to SQLite 3.18.0
Downloaded from https://sqlite.org/2017/sqlite-amalgamation-3180000.zip $ sha256sum sqlite-amalgamation-3180000.zip 1cfb91106650a12840e107db29f2ec4afe3d7f9dc5936770ef53bc3eb6387b6e sqlite-amalgamation-3180000.zip dist/orig contains the stock sqlite3 code, as packaged in the ZIP file above. dist contains a copy of dist/orig, but with the Android.patch file applied. Please see Android.patch for a list of differences between stock and Android. The Android specific patch had a conflict in shell.c. The conflict was resolved without issues. This major release contains the protection feature "LIMIT_VDBE_OP", performance improvements, bug fixes and various other enhancements. More details about the release are available here: https://sqlite.org/releaselog/3_18_0.html Change-Id: If9c32f48f2769b389892ab0256614d8b5eb87324 Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Diffstat (limited to 'dist/orig/sqlite3ext.h')
-rw-r--r--dist/orig/sqlite3ext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/orig/sqlite3ext.h b/dist/orig/sqlite3ext.h
index ce87e74..f25084a 100644
--- a/dist/orig/sqlite3ext.h
+++ b/dist/orig/sqlite3ext.h
@@ -282,6 +282,8 @@ struct sqlite3_api_routines {
/* Version 3.14.0 and later */
int (*trace_v2)(sqlite3*,unsigned,int(*)(unsigned,void*,void*,void*),void*);
char *(*expanded_sql)(sqlite3_stmt*);
+ /* Version 3.18.0 and later */
+ void (*set_last_insert_rowid)(sqlite3*,sqlite3_int64);
};
/*
@@ -540,6 +542,8 @@ typedef int (*sqlite3_loadext_entry)(
/* Version 3.14.0 and later */
#define sqlite3_trace_v2 sqlite3_api->trace_v2
#define sqlite3_expanded_sql sqlite3_api->expanded_sql
+/* Version 3.18.0 and later */
+#define sqlite3_set_last_insert_rowid sqlite3_api->set_last_insert_rowid
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)