Open the database after removing immutable bits

This commit is contained in:
Eelco Dolstra 2013-01-03 13:29:17 +01:00
parent 3007f57377
commit b424d29d1b
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ LocalStore::LocalStore(bool reserveSpace)
curSchema = getSchema();
if (curSchema < 6) upgradeStore6();
else if (curSchema < 7) upgradeStore7();
else if (curSchema < 7) { upgradeStore7(); openDB(true); }
writeFile(schemaPath, (format("%1%") % nixSchemaVersion).str());