diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-05 18:47:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-05 18:47:50 +0000 |
commit | e1196c2c76e6a4a142a91bb9e0a0fae1a06f68fc (patch) | |
tree | a220e450deca24c69178cd0b0b8aeb0c21dd8792 /src/datastore | |
parent | bf886ddf525b991c6a11c9bd0be10e9aa0dd1c80 (diff) | |
download | gnunet-e1196c2c76e6a4a142a91bb9e0a0fae1a06f68fc.tar.gz gnunet-e1196c2c76e6a4a142a91bb9e0a0fae1a06f68fc.zip |
introducing GNUNET_abort
Diffstat (limited to 'src/datastore')
-rw-r--r-- | src/datastore/plugin_datastore_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c index 1048a370f..a6e65eeec 100644 --- a/src/datastore/plugin_datastore_mysql.c +++ b/src/datastore/plugin_datastore_mysql.c | |||
@@ -136,7 +136,7 @@ | |||
136 | * a failure of the command 'cmd' with the message given | 136 | * a failure of the command 'cmd' with the message given |
137 | * by strerror(errno). | 137 | * by strerror(errno). |
138 | */ | 138 | */ |
139 | #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); | 139 | #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); |
140 | 140 | ||
141 | /** | 141 | /** |
142 | * Log an error message at log-level 'level' that indicates | 142 | * Log an error message at log-level 'level' that indicates |