diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-01-03T12·29+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-01-03T12·29+0100 |
commit | b424d29d1b2fb99c654f1cffe6cd57b298c0ab33 (patch) | |
tree | bf8e597f033dc74c2c36e532f9365ab56d0eaf89 /src/libstore/local-store.cc | |
parent | 3007f5737734856b58768f83edefe8574f373333 (diff) |
Open the database after removing immutable bits
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r-- | src/libstore/local-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 87d6e6a94449..333feb2a5f30 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -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()); |