[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13015 - gnunet/src/datastore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13015 - gnunet/src/datastore |
Date: |
Sat, 18 Sep 2010 06:34:56 +0200 |
Author: grothoff
Date: 2010-09-18 06:34:56 +0200 (Sat, 18 Sep 2010)
New Revision: 13015
Modified:
gnunet/src/datastore/plugin_datastore_sqlite.c
Log:
nicer error msgs
Modified: gnunet/src/datastore/plugin_datastore_sqlite.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_sqlite.c 2010-09-17 16:07:20 UTC
(rev 13014)
+++ gnunet/src/datastore/plugin_datastore_sqlite.c 2010-09-18 04:34:56 UTC
(rev 13015)
@@ -179,13 +179,13 @@
-#if 1
+#if 0
#define CHECK(a) GNUNET_break(a)
#define ENULL NULL
#else
#define ENULL &e
#define ENULL_DEFINED 1
-#define CHECK(a) if (! a) { GNUNET_log(GNUNET_ERROR_TYPE_ERRROR, "%s\n", e);
sqlite3_free(e); }
+#define CHECK(a) if (! a) { GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "%s\n", e);
sqlite3_free(e); }
#endif
@@ -1498,6 +1498,9 @@
sqlite3_stmt *stmt;
uint64_t pages;
uint64_t page_size;
+#if ENULL_DEFINED
+ char *e;
+#endif
if (SQLITE_VERSION_NUMBER < 3006000)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13015 - gnunet/src/datastore,
gnunet <=