diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-11 01:59:09 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-11 01:59:09 +0200 |
commit | cad64767d9fda2c18106f25ef101c2eb5fce15a1 (patch) | |
tree | ba6a1e014ffc37b8e61c4b8ae3337427e5357201 /src/exchangedb/perf_taler_exchangedb_interpreter.c | |
parent | 780b7166527f9dc3b07caeadaa4244b7ac5898bb (diff) | |
download | exchange-cad64767d9fda2c18106f25ef101c2eb5fce15a1.tar.xz |
match GNUnet API rename, work on #5010
Diffstat (limited to 'src/exchangedb/perf_taler_exchangedb_interpreter.c')
-rw-r--r-- | src/exchangedb/perf_taler_exchangedb_interpreter.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/exchangedb/perf_taler_exchangedb_interpreter.c b/src/exchangedb/perf_taler_exchangedb_interpreter.c index 5e4155c38..0a8efbb5d 100644 --- a/src/exchangedb/perf_taler_exchangedb_interpreter.c +++ b/src/exchangedb/perf_taler_exchangedb_interpreter.c @@ -1292,13 +1292,16 @@ interpret (struct PERF_TALER_EXCHANGEDB_interpreter_state *state) break; case PERF_TALER_EXCHANGEDB_CMD_START_TRANSACTION: - state->plugin->start (state->plugin->cls, state->session); + GNUNET_break (GNUNET_OK == + state->plugin->start (state->plugin->cls, + state->session)); break; case PERF_TALER_EXCHANGEDB_CMD_COMMIT_TRANSACTION: - state->plugin->commit (state->plugin->cls, state->session); + GNUNET_break (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == + state->plugin->commit (state->plugin->cls, + state->session)); break; - case PERF_TALER_EXCHANGEDB_CMD_ABORT_TRANSACTION: state->plugin->rollback (state->plugin->cls, state->session); |