gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] 02/04: do NOT drop deposit confirmations on taler-audit


From: gnunet
Subject: [taler-exchange] 02/04: do NOT drop deposit confirmations on taler-auditor restart (-r)
Date: Tue, 29 Oct 2019 11:36:29 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

commit 5ddbdfe91b3c4c17d4d624925e93eee243f64a99
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Oct 29 11:32:25 2019 +0100

    do NOT drop deposit confirmations on taler-auditor restart (-r)
---
 src/auditordb/plugin_auditordb_postgres.c | 6 +++---
 src/include/taler_auditordb_plugin.h      | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/auditordb/plugin_auditordb_postgres.c 
b/src/auditordb/plugin_auditordb_postgres.c
index b4bb5007..e5445f2a 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
@@ -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
   };
diff --git a/src/include/taler_auditordb_plugin.h 
b/src/include/taler_auditordb_plugin.h
index 1ec03e65..6241d819 100644
--- a/src/include/taler_auditordb_plugin.h
+++ b/src/include/taler_auditordb_plugin.h
@@ -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

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]