[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r5587 - GNUnet/src/applications/sqstore_sqlite
From: |
gnunet |
Subject: |
[GNUnet-SVN] r5587 - GNUnet/src/applications/sqstore_sqlite |
Date: |
Sun, 2 Sep 2007 18:28:01 -0600 (MDT) |
Author: grothoff
Date: 2007-09-02 18:28:00 -0600 (Sun, 02 Sep 2007)
New Revision: 5587
Modified:
GNUnet/src/applications/sqstore_sqlite/sqlite.c
Log:
fix
Modified: GNUnet/src/applications/sqstore_sqlite/sqlite.c
===================================================================
--- GNUnet/src/applications/sqstore_sqlite/sqlite.c 2007-09-03 00:27:47 UTC
(rev 5586)
+++ GNUnet/src/applications/sqstore_sqlite/sqlite.c 2007-09-03 00:28:00 UTC
(rev 5587)
@@ -44,14 +44,14 @@
* a failure of the command 'cmd' with the message given
* by strerror(errno).
*/
-#define DIE_SQLITE(db, cmd) do { GE_LOG(ectx, GE_FATAL | GE_IMMEDIATE |
GE_ADMIN, _("`%s' failed at %s:%d with error: %s\n"), cmd, __FILE__, __LINE__,
sqlite3_errmsg(db->dbh)); abort(); } while(0);
+#define DIE_SQLITE(db, cmd) do { GE_LOG(ectx, GE_FATAL | GE_IMMEDIATE |
GE_ADMIN, _("`%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'
* with the message given by strerror(errno).
*/
-#define LOG_SQLITE(db, level, cmd) do { GE_LOG(ectx, level, _("`%s' failed at
%s:%d with error: %s\n"), cmd, __FILE__, __LINE__, sqlite3_errmsg(db->dbh)); }
while(0);
+#define LOG_SQLITE(db, level, cmd) do { GE_LOG(ectx, level, _("`%s' failed at
%s:%d with error: %s\n"), cmd, __FILE__, __LINE__, sqlite3_errmsg(db->dbh)); }
while(0)
/**
* After how many ms "busy" should a DB operation fail for good?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r5587 - GNUnet/src/applications/sqstore_sqlite,
gnunet <=