gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: Fix auditordb.


From: gnunet
Subject: [taler-exchange] branch master updated: Fix auditordb.
Date: Sun, 22 Dec 2019 12:46:18 +0100

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

marcello pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new d36700ed Fix auditordb.
d36700ed is described below

commit d36700ed984415b37a7af418d4c820fe6730d7be
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sun Dec 22 12:43:33 2019 +0100

    Fix auditordb.
    
    Include (forgotten) table within the "drop_tables()" command.
---
 src/auditordb/plugin_auditordb_postgres.c | 2 ++
 src/bank-lib/fakebank.c                   | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/auditordb/plugin_auditordb_postgres.c 
b/src/auditordb/plugin_auditordb_postgres.c
index 19714e12..c90c261c 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -125,6 +125,8 @@ postgres_drop_tables (void *cls,
       "DROP TABLE IF EXISTS wire_auditor_account_progress;"),
     GNUNET_PQ_make_execute (
       "DROP TABLE IF EXISTS auditor_historic_reserve_summary CASCADE;"),
+    GNUNET_PQ_make_execute (
+      "DROP TABLE IF EXISTS auditor_denominations CASCADE;"),
     GNUNET_PQ_EXECUTE_STATEMENT_END
   };
   struct GNUNET_PQ_ExecuteStatement esx[] = {
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 5b388f66..d8ea392b 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -467,10 +467,10 @@ handle_admin_add_incoming (struct TALER_FAKEBANK_Handle 
*h,
     void *json_str;
     size_t json_len;
 
-    json = json_pack ("{s:I, s:s}",
+    json = json_pack ("{s:I, s:o}",
                       "row_id",
                       (json_int_t) row_id,
-                      "timestamp", "/Date(0)/"); /*dummy tmp */
+                      "timestamp", GNUNET_JSON_from_time_abs 
(GNUNET_TIME_UNIT_ZERO_ABS)); /*dummy tmp */
 
     json_str = json_dumps (json,
                            JSON_INDENT (2));

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



reply via email to

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