gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11414 - gnunet/src/datastore


From: gnunet
Subject: [GNUnet-SVN] r11414 - gnunet/src/datastore
Date: Tue, 18 May 2010 10:02:38 +0200

Author: grothoff
Date: 2010-05-18 10:02:38 +0200 (Tue, 18 May 2010)
New Revision: 11414

Modified:
   gnunet/src/datastore/plugin_datastore_sqlite.c
Log:
check version

Modified: gnunet/src/datastore/plugin_datastore_sqlite.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_sqlite.c      2010-05-18 07:20:53 UTC 
(rev 11413)
+++ gnunet/src/datastore/plugin_datastore_sqlite.c      2010-05-18 08:02:38 UTC 
(rev 11414)
@@ -1616,8 +1616,9 @@
   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));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]