summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-aggregator.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-06-11 11:48:06 +0200
committerChristian Grothoff <christian@grothoff.org>2017-06-11 11:48:06 +0200
commit110d0cc71cc4814182bb2d38c3cb304abe5d5407 (patch)
treed6646553acf3f2318b54220b5d8a675b96938033 /src/exchange/taler-exchange-aggregator.c
parenta57cf67f31e89aab59a39daf3cca35509c5dc8b8 (diff)
downloadexchange-110d0cc71cc4814182bb2d38c3cb304abe5d5407.tar.gz
exchange-110d0cc71cc4814182bb2d38c3cb304abe5d5407.tar.bz2
exchange-110d0cc71cc4814182bb2d38c3cb304abe5d5407.zip
start test case for #4956
Diffstat (limited to 'src/exchange/taler-exchange-aggregator.c')
-rw-r--r--src/exchange/taler-exchange-aggregator.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
index d658398ae..b3711358c 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -516,6 +516,14 @@ exchange_serve_process_config ()
"Failed to initialize DB subsystem\n");
return GNUNET_SYSERR;
}
+ if (GNUNET_OK !=
+ db_plugin->create_tables (db_plugin->cls))
+ {
+ fprintf (stderr,
+ "Failed to initialize DB tables\n");
+ TALER_EXCHANGEDB_plugin_unload (db_plugin);
+ return GNUNET_SYSERR;
+ }
return GNUNET_OK;
}