diff options
author | Alex Naidis <alex.naidis@linux.com> | 2016-07-10 14:13:38 +0200 |
---|---|---|
committer | Alex Naidis <alex.naidis@linux.com> | 2016-08-07 14:50:19 +0200 |
commit | 60fa6fd5623cb0939ef089b799adeb068389218f (patch) | |
tree | c964f0db58f4f558705f84606fa77ae2002d1f73 /dist/orig/sqlite3ext.h | |
parent | a90d80c9c154737c590c0e9b1e08a7f62bcc25ee (diff) |
sqlite: upgrade to SQLite 3.13.0
Downloaded from http://sqlite.com/2016/sqlite-amalgamation-3130000.zip
$ sha256sum sqlite-amalgamation-3130000.zip
f9ef8811f5f221d81a3ba811a8dfdcc54b19acc6d8032c74719ff95ed0026611 sqlite-amalgamation-3130000.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 for sqlite3.c failed to apply cleanly.
The conflicts were resolved and the Android.patch file was regenerated.
It is to note that the Android specific changes from "off_t" to "off64_t" for "osPread64" and "osPwrite64" are no longer necessary.
Upstream applied these changes in the newest 3.13.0 release.
Also this patch deletes the dist/version file as it is obsoleted and replaced by README.version for Android.
The changes in the new releases can be found here: https://www.sqlite.org/changes.html
Change-Id: I20001055339015b3c05836f7cef7b724700b08a9
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Diffstat (limited to 'dist/orig/sqlite3ext.h')
-rw-r--r-- | dist/orig/sqlite3ext.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dist/orig/sqlite3ext.h b/dist/orig/sqlite3ext.h index 017ea30..20a2fcd 100644 --- a/dist/orig/sqlite3ext.h +++ b/dist/orig/sqlite3ext.h @@ -275,6 +275,12 @@ struct sqlite3_api_routines { /* Version 3.9.0 and later */ unsigned int (*value_subtype)(sqlite3_value*); void (*result_subtype)(sqlite3_context*,unsigned int); + /* Version 3.10.0 and later */ + int (*status64)(int,sqlite3_int64*,sqlite3_int64*,int); + int (*strlike)(const char*,const char*,unsigned int); + int (*db_cacheflush)(sqlite3*); + /* Version 3.12.0 and later */ + int (*system_errno)(sqlite3*); }; /* @@ -514,6 +520,12 @@ struct sqlite3_api_routines { /* Version 3.9.0 and later */ #define sqlite3_value_subtype sqlite3_api->value_subtype #define sqlite3_result_subtype sqlite3_api->result_subtype +/* Version 3.10.0 and later */ +#define sqlite3_status64 sqlite3_api->status64 +#define sqlite3_strlike sqlite3_api->strlike +#define sqlite3_db_cacheflush sqlite3_api->db_cacheflush +/* Version 3.12.0 and later */ +#define sqlite3_system_errno sqlite3_api->system_errno #endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ #if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) |