gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r11240 - gnunet/src/datastore
Date: Thu, 6 May 2010 22:37:05 +0200

Author: grothoff
Date: 2010-05-06 22:37:05 +0200 (Thu, 06 May 2010)
New Revision: 11240

Modified:
   gnunet/src/datastore/plugin_datastore_sqlite.c
Log:
better

Modified: gnunet/src/datastore/plugin_datastore_sqlite.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_sqlite.c      2010-05-06 20:28:21 UTC 
(rev 11239)
+++ gnunet/src/datastore/plugin_datastore_sqlite.c      2010-05-06 20:37:05 UTC 
(rev 11240)
@@ -44,7 +44,7 @@
  * a failure of the command 'cmd' on file 'filename'
  * with the message given by strerror(errno).
  */
-#define LOG_SQLITE(db, msg, level, cmd) do { GNUNET_log_from (level, "sqlite", 
_("`%s' failed at %s:%d with error: %s\n"), cmd, __FILE__, __LINE__, 
sqlite3_errmsg(db->dbh)); if (msg != NULL) GNUNET_asprintf(msg, _("`%s' failed 
with error: %s"), cmd, sqlite3_errmsg(db->dbh)); } while(0)
+#define LOG_SQLITE(db, msg, level, cmd) do { GNUNET_log_from (level, "sqlite", 
_("`%s' failed at %s:%d with error: %s\n"), cmd, __FILE__, __LINE__, 
sqlite3_errmsg(db->dbh)); if (msg != NULL) GNUNET_asprintf(msg, _("`%s' failed 
at %s:%u with error: %s"), cmd, __FILE__, __LINE__, sqlite3_errmsg(db->dbh)); } 
while(0)
 
 #define SELECT_IT_LOW_PRIORITY_1 \
   "SELECT size,type,prio,anonLevel,expire,hash,value,_ROWID_ FROM gn080 WHERE 
(prio = ? AND hash > ?) "\





reply via email to

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