summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/sql/connection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/sql/connection.cc b/app/sql/connection.cc
index ac1c545..dd3756e 100644
--- a/app/sql/connection.cc
+++ b/app/sql/connection.cc
@@ -92,7 +92,7 @@ void Connection::Preload() {
if (!DoesTableExist("meta"))
return;
Statement dummy(GetUniqueStatement("SELECT * FROM meta"));
- if (!dummy || !dummy.Run())
+ if (!dummy || !dummy.Step())
return;
sqlite3Preload(db_);