diff options
author | dan <dan@noemail.net> | 2020-03-05 18:04:09 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2020-03-05 18:04:09 +0000 |
commit | 0ea2d42ac3e76c7e2b2fd8d5fdf53f76f09429f3 (patch) | |
tree | 923944b4486cca728358128d354a21f02b363106 /src/sqliteInt.h | |
parent | 42a630b1daf1df13850095251cc73be84dbdeac8 (diff) | |
download | sqlite-0ea2d42ac3e76c7e2b2fd8d5fdf53f76f09429f3.tar.gz sqlite-0ea2d42ac3e76c7e2b2fd8d5fdf53f76f09429f3.zip |
Report an error if the main, or any other, database encoding is modified by an external process (perhaps using the backup API) after the db has been opened.
FossilOrigin-Name: 895bd20b29e223496e1585483c6ce3335ae9050f2e5de4d6b69d0e40df396862
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 814a7d806..c338dabca 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1264,7 +1264,6 @@ struct Schema { */ #define DB_SchemaLoaded 0x0001 /* The schema has been loaded */ #define DB_UnresetViews 0x0002 /* Some views have defined column names */ -#define DB_Empty 0x0004 /* The file is empty (length 0 bytes) */ #define DB_ResetWanted 0x0008 /* Reset the schema when nSchemaLock==0 */ /* @@ -1631,6 +1630,7 @@ struct sqlite3 { #define DBFLAG_VacuumInto 0x0008 /* Currently running VACUUM INTO */ #define DBFLAG_SchemaKnownOk 0x0010 /* Schema is known to be valid */ #define DBFLAG_InternalFunc 0x0020 /* Allow use of internal functions */ +#define DBFLAG_EncodingFixed 0x0040 /* No longer possible to change enc. */ /* ** Bits of the sqlite3.dbOptFlags field that are used by the |