summaryrefslogtreecommitdiff
path: root/src/mintdb/plugin_mintdb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-14 23:09:34 +0200
committerChristian Grothoff <christian@grothoff.org>2015-08-14 23:09:34 +0200
commitaa79e52fde4977bbacba26cbb4e06a98d35e8235 (patch)
tree49bbf65cb84347421b3a74cbdcbe9a1c7ab91420 /src/mintdb/plugin_mintdb_postgres.c
parenta8f65175f46cbada28d801d144e8be71b268dd50 (diff)
downloadexchange-aa79e52fde4977bbacba26cbb4e06a98d35e8235.tar.gz
exchange-aa79e52fde4977bbacba26cbb4e06a98d35e8235.tar.bz2
exchange-aa79e52fde4977bbacba26cbb4e06a98d35e8235.zip
activating test /refresh/link (still fails)
Diffstat (limited to 'src/mintdb/plugin_mintdb_postgres.c')
-rw-r--r--src/mintdb/plugin_mintdb_postgres.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c
index 0c7d2d36a..3e52d1388 100644
--- a/src/mintdb/plugin_mintdb_postgres.c
+++ b/src/mintdb/plugin_mintdb_postgres.c
@@ -2179,6 +2179,9 @@ postgres_insert_refresh_melt (void *cls,
}
if (GNUNET_NO == ret) /* if not, insert it */
{
+ fprintf (stderr,
+ "Melting coin coin %s\n",
+ TALER_B2S (&melt->coin.coin_pub));
ret = insert_known_coin (cls,
session,
&melt->coin);
@@ -3015,8 +3018,13 @@ postgres_get_transfer (void *cls,
return GNUNET_SYSERR;
}
nrows = PQntuples (result);
+ fprintf (stderr,
+ "linkage for coin %s resulted in %d results\n",
+ TALER_B2S (coin_pub),
+ nrows);
if (0 == nrows)
{
+ /* no matches found */
PQclear (result);
return GNUNET_NO;
}