about summary refs log tree commit diff
path: root/src/libstore/local-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-10-03T20·54-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-10-03T20·59-0400
commit7586095504f238a35937426aa870cb6d2a7b2862 (patch)
tree4cc694fe23f94365523454305e88c91ba5e0215b /src/libstore/local-store.cc
parenta562d544d8520a0f113ad1a348e28ea00f27b693 (diff)
Remove bin2c
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r--src/libstore/local-store.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 982644af7154..251449089796 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -374,7 +374,9 @@ void LocalStore::openDB(bool create)
 
     /* Initialise the database schema, if necessary. */
     if (create) {
+        const char * schema =
 #include "schema.sql.hh"
+            ;
         if (sqlite3_exec(db, (const char *) schema, 0, 0, 0) != SQLITE_OK)
             throwSQLiteError(db, "initialising database schema");
     }