aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/storage_sqlite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage_sqlite.c')
-rw-r--r--src/storage_sqlite.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/storage_sqlite.c b/src/storage_sqlite.c
index eee26fe..e0f0eac 100644
--- a/src/storage_sqlite.c
+++ b/src/storage_sqlite.c
@@ -403,6 +403,8 @@ int storage_sqlite_get_run_queue(struct storage *storage, struct run_queue *queu
if (ret < 0)
return ret;
+ run_queue_create(queue);
+
while (1) {
ret = sqlite_step(stmt);
if (!ret)