aboutsummaryrefslogtreecommitdiff
path: root/src/datacache
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-05 18:47:50 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-05 18:47:50 +0000
commite1196c2c76e6a4a142a91bb9e0a0fae1a06f68fc (patch)
treea220e450deca24c69178cd0b0b8aeb0c21dd8792 /src/datacache
parentbf886ddf525b991c6a11c9bd0be10e9aa0dd1c80 (diff)
downloadgnunet-e1196c2c76e6a4a142a91bb9e0a0fae1a06f68fc.tar.gz
gnunet-e1196c2c76e6a4a142a91bb9e0a0fae1a06f68fc.zip
introducing GNUNET_abort
Diffstat (limited to 'src/datacache')
-rw-r--r--src/datacache/plugin_datacache_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datacache/plugin_datacache_mysql.c b/src/datacache/plugin_datacache_mysql.c
index cf282dbdc..9185c5ca1 100644
--- a/src/datacache/plugin_datacache_mysql.c
+++ b/src/datacache/plugin_datacache_mysql.c
@@ -100,7 +100,7 @@
100 * a failure of the command 'cmd' with the message given 100 * a failure of the command 'cmd' with the message given
101 * by strerror(errno). 101 * by strerror(errno).
102 */ 102 */
103#define DIE_MYSQL(cmd, dbh) do { GNUNET_log(GNUNET_ERROR_TYPE__ERROR, _("`%s' failed at %s:%d with error: %s\n"), cmd, __FILE__, __LINE__, mysql_error((dbh)->dbf)); abort(); } while(0); 103#define DIE_MYSQL(cmd, dbh) do { GNUNET_log(GNUNET_ERROR_TYPE__ERROR, _("`%s' failed at %s:%d with error: %s\n"), cmd, __FILE__, __LINE__, mysql_error((dbh)->dbf)); GNUNET_abort(); } while(0);
104 104
105/** 105/**
106 * Log an error message at log-level 'level' that indicates 106 * Log an error message at log-level 'level' that indicates