From 27330c93fe969781b61328c786c9eb9943152ce5 Mon Sep 17 00:00:00 2001 From: "D. Richard Hipp" Date: Wed, 8 Nov 2017 17:51:10 +0000 Subject: [PATCH] Turns out that SQLITE_READONLY_CANTLOCK is an historical name that must be preserved. So make a new SQLITE_READLOCK_CANTINIT name instead. --- src/sqlite.h.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sqlite.h.in b/src/sqlite.h.in index 1d083cf06f..db6e0cbae3 100644 --- a/src/sqlite.h.in +++ b/src/sqlite.h.in @@ -511,9 +511,10 @@ int sqlite3_exec( #define SQLITE_CANTOPEN_DIRTYWAL (SQLITE_CANTOPEN | (5<<8)) #define SQLITE_CORRUPT_VTAB (SQLITE_CORRUPT | (1<<8)) #define SQLITE_READONLY_RECOVERY (SQLITE_READONLY | (1<<8)) -#define SQLITE_READONLY_CANTINIT (SQLITE_READONLY | (2<<8)) +#define SQLITE_READONLY_CANTLOCK (SQLITE_READONLY | (2<<8)) #define SQLITE_READONLY_ROLLBACK (SQLITE_READONLY | (3<<8)) #define SQLITE_READONLY_DBMOVED (SQLITE_READONLY | (4<<8)) +#define SQLITE_READONLY_CANTINIT (SQLITE_READONLY | (5<<8)) #define SQLITE_ABORT_ROLLBACK (SQLITE_ABORT | (2<<8)) #define SQLITE_CONSTRAINT_CHECK (SQLITE_CONSTRAINT | (1<<8)) #define SQLITE_CONSTRAINT_COMMITHOOK (SQLITE_CONSTRAINT | (2<<8)) -- 2.11.4.GIT