* Remove support for old (before Nix 0.12pre12020) databases.

This commit is contained in:
Eelco Dolstra 2009-11-06 01:15:44 +00:00
parent c60d796f04
commit 327a232c85
16 changed files with 33 additions and 823 deletions

View file

@ -1133,4 +1133,16 @@ void LocalStore::verifyStore(bool checkContents)
}
/* Upgrade from schema 4 (Nix 0.11) to schema 5 (Nix >= 0.12). The
old schema uses Berkeley DB, the new one stores store path
meta-information in files. */
void LocalStore::upgradeStore12()
{
throw Error(
"Your Nix store has a database in Berkeley DB format,\n"
"which is no longer supported. To convert to the new format,\n"
"please upgrade Nix to version 0.12 first.");
}
}