summaryrefslogtreecommitdiff
path: root/dist/sqlite3.h
diff options
context:
space:
mode:
authorFyodor Kupolov <fkupolov@google.com>2017-08-02 11:03:04 -0700
committerFyodor Kupolov <fkupolov@google.com>2017-08-02 11:07:04 -0700
commita0540df7996767c3404874ec8d99df67a763cbe6 (patch)
tree86f33d424ca772bd55bc6abbe2d40d76871a6d36 /dist/sqlite3.h
parent03856f0cb8344fdf6de921791106ca87f38cda20 (diff)
sqlite: Upgrade to SQLite 3.19.4
Downloaded from https://sqlite.org/src/tarball/SQLite-2dd0c77d.tar.gz $ shasum SQLite-2dd0c77d.tar.gz 354575e725f1301ed52984bd06d7b803b2134f5a SQLite-2dd0c77d.tar.gz Unpack and run "./configure; make sqlite3.c" to generate the "sqlite3.c", "sqlite3.h", "shell.c", and "sqlite3ext.h" source files dist/orig contains the stock sqlite3 code, as generated from the tar.gz file above. This release provides a fix for https://sqlite.org/src/info/de3403bf5ae5f72ed The proposed solution makes column names more consistent and easier to understand. It also makes the implementation smaller and simpler and helps it to run a little faster. However, there may be legacy programs that depended on the old behavior (shifting the column naming rule from (2) to (3) when using the query flattener) and those legacy programs could potentially break due to this change. Test: manual + SQLiteDatabaseTest CTS test Bug: 62431773 Change-Id: I44f9bafe888b22b040fa1827962c421b4eab0c3a
Diffstat (limited to 'dist/sqlite3.h')
-rw-r--r--dist/sqlite3.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/dist/sqlite3.h b/dist/sqlite3.h
index eb32c2b..9387b24 100644
--- a/dist/sqlite3.h
+++ b/dist/sqlite3.h
@@ -121,9 +121,9 @@ extern "C" {
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
** [sqlite_version()] and [sqlite_source_id()].
*/
-#define SQLITE_VERSION "3.19.3"
-#define SQLITE_VERSION_NUMBER 3019003
-#define SQLITE_SOURCE_ID "2017-07-28 02:02:45 def55027b1f1db9c083830019dbcc3daed94f6cc70a76b285ac1af9d82f81695"
+#define SQLITE_VERSION "3.19.4"
+#define SQLITE_VERSION_NUMBER 3019004
+#define SQLITE_SOURCE_ID "2017-07-31 13:22:31 2dd0c77d54b333beee48c250e61c0002a03d34c5d4da07040ac414bdd36f56f9"
/*
** CAPI3REF: Run-Time Library Version Numbers
@@ -494,6 +494,9 @@ SQLITE_API int sqlite3_exec(
#define SQLITE_IOERR_CONVPATH (SQLITE_IOERR | (26<<8))
#define SQLITE_IOERR_VNODE (SQLITE_IOERR | (27<<8))
#define SQLITE_IOERR_AUTH (SQLITE_IOERR | (28<<8))
+#define SQLITE_IOERR_BEGIN_ATOMIC (SQLITE_IOERR | (29<<8))
+#define SQLITE_IOERR_COMMIT_ATOMIC (SQLITE_IOERR | (30<<8))
+#define SQLITE_IOERR_ROLLBACK_ATOMIC (SQLITE_IOERR | (31<<8))
#define SQLITE_LOCKED_SHAREDCACHE (SQLITE_LOCKED | (1<<8))
#define SQLITE_BUSY_RECOVERY (SQLITE_BUSY | (1<<8))
#define SQLITE_BUSY_SNAPSHOT (SQLITE_BUSY | (2<<8))