From: Christian Grothoff Date: Tue, 18 May 2010 08:02:38 +0000 (+0000) Subject: check version X-Git-Tag: initial-import-from-subversion-38251~21665 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e42eeb821f3b4e62faa2b0a32749384ce1bf4d04;p=oweals%2Fgnunet.git check version --- 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, uint64_t page_size; plugin->stat_get = NULL; - if (plugin->stats_worked == GNUNET_NO) - { + if ( (plugin->stats_worked == GNUNET_NO) && + (SQLITE_VERSION_NUMBER >= 3006000) ) + { CHECK (SQLITE_OK == sqlite3_exec (plugin->dbh, "VACUUM", NULL, NULL, ENULL));