aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_sqlite.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-07-19 11:31:54 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-07-19 11:31:54 +0000
commit87cf0236288683f61fc29d0235b4bde1c1522204 (patch)
treefb8bf3cbf850a4741137fb4f0615fa1162f14d10 /src/datastore/plugin_datastore_sqlite.c
parente7fa24a65fa751f5dbfe2d4c17a64aaf19c2fce5 (diff)
bugfixes
git-svn-id: https://gnunet.org/svn/gnunet@8750 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-rw-r--r--src/datastore/plugin_datastore_sqlite.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c
index 99f9403177..ce92d38821 100644
--- a/src/datastore/plugin_datastore_sqlite.c
+++ b/src/datastore/plugin_datastore_sqlite.c
@@ -29,7 +29,7 @@
#include "plugin_datastore.h"
#include <sqlite3.h>
-#define DEBUG_SQLITE GNUNET_NO
+#define DEBUG_SQLITE GNUNET_YES
/**
* After how many payload-changing operations
@@ -39,14 +39,6 @@
#define QUOTA_STAT_NAME gettext_noop ("file-sharing datastore utilization (in bytes)")
-
-/**
- * Die with an error message that indicates
- * a failure of the command 'cmd' with the message given
- * by strerror(errno).
- */
-#define DIE_SQLITE(db, cmd) do { GNUNET_log_from(GNUNET_ERROR_TYPE_ERROR, "sqlite", _("`%s' failed at %s:%d with error: %s\n"), cmd, __FILE__, __LINE__, sqlite3_errmsg(db->dbh)); abort(); } while(0)
-
/**
* Log an error message at log-level 'level' that indicates
* a failure of the command 'cmd' on file 'filename'