From e33f67ff0b02cc8fc2e0024dd87a6d61467df177 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 24 Feb 2010 16:30:20 +0000 Subject: * Refactor the upgrade / database initialisation logic a bit. --- src/libstore/local-store.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libstore/local-store.hh') 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); -- cgit 1.4.1