diff options
author | drh <drh@noemail.net> | 2018-01-03 19:03:31 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-01-03 19:03:31 +0000 |
commit | 3ec8665e22a6fe5cf6a2b98c04de1d350d519c8c (patch) | |
tree | 089d1b1b514c40d264b89fc9289a3d66d7168889 /src/sqliteInt.h | |
parent | cb7d541d3ae005e24bb0d36bb138d84a3ca3d415 (diff) | |
download | sqlite-3ec8665e22a6fe5cf6a2b98c04de1d350d519c8c.tar.gz sqlite-3ec8665e22a6fe5cf6a2b98c04de1d350d519c8c.zip |
Replace sqlite3_memdb_config() with sqlite3_deserialize(). Remove the
"db memdb" command from the TCL interface, replacing it with "db serialize"
and "db deserialize".
FossilOrigin-Name: 2f6e9df9f0c5a9e5b1acb99cfa9486850cc1822d35b0989e779a7a10f3b1f1ac
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 002fb4e91..35074ee81 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1365,8 +1365,9 @@ struct sqlite3 { int newTnum; /* Rootpage of table being initialized */ u8 iDb; /* Which db file is being initialized */ u8 busy; /* TRUE if currently initializing */ - u8 orphanTrigger; /* Last statement is orphaned TEMP trigger */ - u8 imposterTable; /* Building an imposter table */ + u8 orphanTrigger : 1; /* Last statement is orphaned TEMP trigger */ + u8 imposterTable : 1; /* Building an imposter table */ + u8 reopenMemdb : 1; /* ATTACH is really a reopen using MemDB */ } init; int nVdbeActive; /* Number of VDBEs currently running */ int nVdbeRead; /* Number of active VDBEs that read or write */ |