gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r7738 - GNUnet/src/applications/sqstore_sqlite


From: gnunet
Subject: [GNUnet-SVN] r7738 - GNUnet/src/applications/sqstore_sqlite
Date: Tue, 7 Oct 2008 11:48:11 -0600 (MDT)

Author: durner
Date: 2008-10-07 11:48:11 -0600 (Tue, 07 Oct 2008)
New Revision: 7738

Modified:
   GNUnet/src/applications/sqstore_sqlite/sqlite.c
Log:
DEBUG_SQLITE

Modified: GNUnet/src/applications/sqstore_sqlite/sqlite.c
===================================================================
--- GNUnet/src/applications/sqstore_sqlite/sqlite.c     2008-10-06 23:20:47 UTC 
(rev 7737)
+++ GNUnet/src/applications/sqstore_sqlite/sqlite.c     2008-10-07 17:48:11 UTC 
(rev 7738)
@@ -124,7 +124,10 @@
 static GNUNET_CoreAPIForPlugins *coreAPI;
 
 static unsigned int stat_size;
+
+#if DEBUG_SQLITE
 static unsigned int stat_mem;
+#endif
 
 static struct GNUNET_GE_Context *ectx;
 
@@ -1462,7 +1465,9 @@
   if (stats)
     {
       stat_size = stats->create (gettext_noop ("# bytes in datastore"));
+#if DEBUG_SQLITE
       stat_mem = stats->create (gettext_noop ("# bytes allocated by SQLite"));
+#endif
     }
 
   api.getSize = &getSize;





reply via email to

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