diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-28 23:18:40 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-28 23:18:40 +0100 |
commit | e24a6369aae5c2ab6ccec4ecdd269a280078f790 (patch) | |
tree | a771278300d1aafc77f95afed32d2837c099bbfe /src/auditor/taler-auditor-sync.c | |
parent | a8d9e7e0a61cd9f23371d09bec244a6e11683efc (diff) |
test-sync passes again
Diffstat (limited to 'src/auditor/taler-auditor-sync.c')
-rw-r--r-- | src/auditor/taler-auditor-sync.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/auditor/taler-auditor-sync.c b/src/auditor/taler-auditor-sync.c index 17c4da467..4b9595c6c 100644 --- a/src/auditor/taler-auditor-sync.c +++ b/src/auditor/taler-auditor-sync.c @@ -91,6 +91,7 @@ struct Table static struct Table tables[] = { { .rt = TALER_EXCHANGEDB_RT_DENOMINATIONS}, { .rt = TALER_EXCHANGEDB_RT_DENOMINATION_REVOCATIONS}, + { .rt = TALER_EXCHANGEDB_RT_WIRE_TARGETS}, { .rt = TALER_EXCHANGEDB_RT_RESERVES}, { .rt = TALER_EXCHANGEDB_RT_RESERVES_IN}, { .rt = TALER_EXCHANGEDB_RT_RESERVES_CLOSE}, @@ -202,20 +203,16 @@ transact (void) src->lookup_serial_by_table (src->cls, tables[i].rt, &tables[i].end_serial); - if (0 > - src->commit (src->cls)) - return GNUNET_SYSERR; + src->rollback (src->cls); if (GNUNET_OK != - dst->start (src->cls, + dst->start (dst->cls, "lookup dst serials")) return GNUNET_SYSERR; for (unsigned int i = 0; ! tables[i].end; i++) dst->lookup_serial_by_table (dst->cls, tables[i].rt, &tables[i].start_serial); - if (0 > - dst->commit (dst->cls)) - return GNUNET_SYSERR; + dst->rollback (dst->cls); for (unsigned int i = 0; ! tables[i].end; i++) { struct Table *table = &tables[i]; |