diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backenddb/plugin_merchantdb_postgres.c | 5 | ||||
-rw-r--r-- | src/testing/test_template.conf | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c index 40fb1d19..87951745 100644 --- a/src/backenddb/plugin_merchantdb_postgres.c +++ b/src/backenddb/plugin_merchantdb_postgres.c @@ -211,6 +211,11 @@ postgres_create_tables (void *cls) NULL); if (NULL == conn) return GNUNET_SYSERR; + if (0 > + GNUNET_PQ_eval_prepared_non_select (conn, + "create_tables", + NULL)) + ret = GNUNET_SYSERR; ret = GNUNET_PQ_exec_sql (conn, "procedures"); GNUNET_PQ_disconnect (conn); diff --git a/src/testing/test_template.conf b/src/testing/test_template.conf index e8a4efac..8f3dc4da 100644 --- a/src/testing/test_template.conf +++ b/src/testing/test_template.conf @@ -46,6 +46,7 @@ FORCE_AUDIT = YES [merchantdb-postgres] CONFIG = postgres:///talercheck +SQL_DIR = $DATADIR/sql/merchant/ [bank] HTTP_PORT = 8082 |