do NOT drop deposit confirmations on taler-auditor restart (-r)
This commit is contained in:
parent
a1b01f1195
commit
5ddbdfe91b
@ -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
|
||||
@ -123,13 +123,13 @@ postgres_drop_tables (void *cls,
|
||||
GNUNET_PQ_make_execute ("DROP TABLE IF EXISTS wire_auditor_progress;"),
|
||||
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
|
||||
};
|
||||
|
@ -428,7 +428,7 @@ struct TALER_AUDITORDB_Plugin
|
||||
* Drop the Taler tables. This should only be used in testcases.
|
||||
*
|
||||
* @param cls the @e cls of this struct with the plugin-specific state
|
||||
* @param drop_exchangelist should we also drop the list of audited exchanges
|
||||
* @param drop_exchangelist should we also drop the exchange and deposit_confirmations table?
|
||||
* @return #GNUNET_OK upon success; #GNUNET_SYSERR upon failure
|
||||
*/
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user