summaryrefslogtreecommitdiff
path: root/src/auditordb
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-29 11:32:25 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-29 11:32:25 +0100
commit5ddbdfe91b3c4c17d4d624925e93eee243f64a99 (patch)
tree15f8b879fd310ea4251b7795475620407f1b9cf0 /src/auditordb
parenta1b01f1195bd5c97d47f02f8cd190d28eb18af7e (diff)
downloadexchange-5ddbdfe91b3c4c17d4d624925e93eee243f64a99.tar.gz
exchange-5ddbdfe91b3c4c17d4d624925e93eee243f64a99.tar.bz2
exchange-5ddbdfe91b3c4c17d4d624925e93eee243f64a99.zip
do NOT drop deposit confirmations on taler-auditor restart (-r)
Diffstat (limited to 'src/auditordb')
-rw-r--r--src/auditordb/plugin_auditordb_postgres.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index b4bb50079..e5445f2ad 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -95,7 +95,7 @@ struct PostgresClosure
* Drop all Taler tables. This should only be used by testcases.
*
* @param cls the `struct PostgresClosure` with the plugin-specific state
- * @param drop_exchangelist should we also drop the exchange table?
+ * @param drop_exchangelist should we also drop the exchange and deposit_confirmations table?
* @return #GNUNET_OK upon success; #GNUNET_SYSERR upon failure
*/
static int
@@ -124,12 +124,12 @@ postgres_drop_tables (void *cls,
GNUNET_PQ_make_execute (
"DROP TABLE IF EXISTS wire_auditor_account_progress;"),
GNUNET_PQ_make_execute (
- "DROP TABLE IF EXISTS deposit_confirmations CASCADE;"),
- GNUNET_PQ_make_execute (
"DROP TABLE IF EXISTS auditor_historic_reserve_summary CASCADE;"),
GNUNET_PQ_EXECUTE_STATEMENT_END
};
struct GNUNET_PQ_ExecuteStatement esx[] = {
+ GNUNET_PQ_make_execute (
+ "DROP TABLE IF EXISTS deposit_confirmations CASCADE;"),
GNUNET_PQ_make_execute ("DROP TABLE IF EXISTS auditor_exchanges CASCADE;"),
GNUNET_PQ_EXECUTE_STATEMENT_END
};