about summary refs log tree commit diff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-24T16·30+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-24T16·30+0000
commite33f67ff0b02cc8fc2e0024dd87a6d61467df177 (patch)
tree6f32f0989fe7da4bd51680eae8a2fd65626e9253 /src/libstore/local-store.hh
parentcfe742cfc50e40b590e75200179013dd62b07bde (diff)
* Refactor the upgrade / database initialisation logic a bit.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index 1e4080becd8c..0c5f04158e65 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);