[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -fix issues
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -fix issues |
Date: |
Wed, 10 Jan 2024 15:26:22 +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 17522251 -fix issues
17522251 is described below
commit 17522251189bbd106f62f445ac7ee57ab8e4afc2
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jan 10 15:26:20 2024 +0100
-fix issues
---
src/pq/pq_query_helper.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/pq/pq_query_helper.c b/src/pq/pq_query_helper.c
index 1b2b0048..d25b3223 100644
--- a/src/pq/pq_query_helper.c
+++ b/src/pq/pq_query_helper.c
@@ -888,6 +888,7 @@ qconv_array (
Oid oid_f;
Oid oid_c;
+ buffer_lengths = GNUNET_new_array (num, size_t);
/* hoist out of loop? */
GNUNET_assert (GNUNET_OK ==
GNUNET_PQ_get_oid_by_name (meta->db,
@@ -899,7 +900,7 @@ qconv_array (
&oid_f));
GNUNET_assert (GNUNET_OK ==
GNUNET_PQ_get_oid_by_name (meta->db,
- "text",
+ "varchar",
&oid_c));
for (size_t i = 0; i<num; i++)
{
@@ -917,6 +918,7 @@ qconv_array (
total_size += len;
RETURN_UNLESS (total_size >= y);
}
+ sizes = buffer_lengths;
break;
}
case TALER_PQ_array_of_blinded_denom_sig:
@@ -1041,7 +1043,7 @@ qconv_array (
&oid_f));
GNUNET_assert (GNUNET_OK ==
GNUNET_PQ_get_oid_by_name (meta->db,
- "text",
+ "varchar",
&oid_c));
{
struct TALER_PQ_AmountCurrencyP am;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.