Migration
Migrate from DB version 0 to version 1 on startup
This commit is contained in:
parent
d7ea7d9a23
commit
c14f9efd52
File diff suppressed because it is too large
Load Diff
|
@ -339,6 +339,12 @@ private:
|
|||
// fix up anything that may be wrong due to past bugs
|
||||
virtual void fixup();
|
||||
|
||||
// migrate from older DB version to current
|
||||
void migrate(const uint32_t oldversion);
|
||||
|
||||
// migrate from DB version 0 to 1
|
||||
void migrate_0_1();
|
||||
|
||||
MDB_env* m_env;
|
||||
|
||||
MDB_dbi m_blocks;
|
||||
|
|
Loading…
Reference in New Issue