aboutsummaryrefslogtreecommitdiff
path: root/src/mysql/mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mysql/mysql.c')
-rw-r--r--src/mysql/mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql/mysql.c b/src/mysql/mysql.c
index 6ee685b34..2955bcf9c 100644
--- a/src/mysql/mysql.c
+++ b/src/mysql/mysql.c
@@ -38,7 +38,7 @@
38 * a failure of the command 'cmd' with the message given 38 * a failure of the command 'cmd' with the message given
39 * by strerror(errno). 39 * by strerror(errno).
40 */ 40 */
41#define DIE_MYSQL(cmd, dbh) do { GNUNET_log_from (GNUNET_ERROR_TYPE__ERROR, "mysql", _("`%s' failed at %s:%d with error: %s\n"), cmd, __FILE__, __LINE__, mysql_error((dbh)->dbf)); GNUNET_abort(); } while(0); 41#define DIE_MYSQL(cmd, dbh) do { GNUNET_log_from (GNUNET_ERROR_TYPE__ERROR, "mysql", _("`%s' failed at %s:%d with error: %s\n"), cmd, __FILE__, __LINE__, mysql_error((dbh)->dbf)); GNUNET_assert (0); } while(0);
42 42
43/** 43/**
44 * Log an error message at log-level 'level' that indicates 44 * Log an error message at log-level 'level' that indicates