gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] branch master updated: fix log level of au


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: fix log level of auditor, elimintate REFERENCES constraint for now, unclear if it is needed/useful
Date: Mon, 20 Mar 2017 04:29:44 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 3186dbf  fix log level of auditor, elimintate REFERENCES constraint 
for now, unclear if it is needed/useful
3186dbf is described below

commit 3186dbf58a1ee01e2fab22b4a7f0b2d0deccd71a
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Mar 20 04:29:42 2017 +0100

    fix log level of auditor, elimintate REFERENCES constraint for now, unclear 
if it is needed/useful
---
 src/auditor/taler-auditor.c               | 2 +-
 src/auditordb/plugin_auditordb_postgres.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index 04e9da9..c03af0e 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -3371,7 +3371,7 @@ main (int argc,
   (void) TALER_project_data_default ();
   GNUNET_assert (GNUNET_OK ==
                  GNUNET_log_setup ("taler-auditor",
-                                   "INFO",
+                                   "MESSAGE",
                                    NULL));
   if (GNUNET_OK !=
       GNUNET_PROGRAM_run (argc,
diff --git a/src/auditordb/plugin_auditordb_postgres.c 
b/src/auditordb/plugin_auditordb_postgres.c
index b4dfaee..3807639 100644
--- a/src/auditordb/plugin_auditordb_postgres.c
+++ b/src/auditordb/plugin_auditordb_postgres.c
@@ -359,7 +359,8 @@ postgres_create_tables (void *cls)
      of; "refund_serial_id" tells us the last entry in "refunds"
      for this denom_pub that the auditor is aware of. */
   SQLEXEC ("CREATE TABLE IF NOT EXISTS denomination_pending"
-          "(denom_pub_hash BYTEA PRIMARY KEY REFERENCES auditor_denominations 
(denom_pub_hash) ON DELETE CASCADE"
+          "(denom_pub_hash BYTEA PRIMARY KEY"
+           /* " REFERENCES auditor_denominations (denom_pub_hash) ON DELETE 
CASCADE" // Do we want this? */
            ",denom_balance_val INT8 NOT NULL"
            ",denom_balance_frac INT4 NOT NULL"
            ",denom_balance_curr VARCHAR("TALER_CURRENCY_LEN_STR") NOT NULL"

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



reply via email to

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