diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-02-24 16:30:20 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-02-24 16:30:20 +0000 |
commit | e33f67ff0b02cc8fc2e0024dd87a6d61467df177 (patch) | |
tree | 6f32f0989fe7da4bd51680eae8a2fd65626e9253 /src/libstore/local-store.hh | |
parent | cfe742cfc50e40b590e75200179013dd62b07bde (diff) |
* Refactor the upgrade / database initialisation logic a bit.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r-- | src/libstore/local-store.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 1e4080bec..0c5f04158 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -209,9 +209,7 @@ private: int getSchema(); - void initSchema(); - - void prepareStatements(); + void openDB(bool create); unsigned long long queryValidPathId(const Path & path); |