aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/datastore/plugin_datastore_sqlite.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c
index 45fd05e6f..8df925864 100644
--- a/src/datastore/plugin_datastore_sqlite.c
+++ b/src/datastore/plugin_datastore_sqlite.c
@@ -1616,8 +1616,9 @@ process_stat_done (void *cls,
1616 uint64_t page_size; 1616 uint64_t page_size;
1617 1617
1618 plugin->stat_get = NULL; 1618 plugin->stat_get = NULL;
1619 if (plugin->stats_worked == GNUNET_NO) 1619 if ( (plugin->stats_worked == GNUNET_NO) &&
1620 { 1620 (SQLITE_VERSION_NUMBER >= 3006000) )
1621 {
1621 CHECK (SQLITE_OK == 1622 CHECK (SQLITE_OK ==
1622 sqlite3_exec (plugin->dbh, 1623 sqlite3_exec (plugin->dbh,
1623 "VACUUM", NULL, NULL, ENULL)); 1624 "VACUUM", NULL, NULL, ENULL));