[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: fix type for bool t
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: fix type for bool to match what postgres returns -- 1 byte instead of 4 bytes |
Date: |
Mon, 15 Jan 2018 15:18:08 +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 2526143 fix type for bool to match what postgres returns -- 1 byte
instead of 4 bytes
2526143 is described below
commit 2526143a4f08b2b1be56cb3d344d051221295633
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jan 15 15:18:00 2018 +0100
fix type for bool to match what postgres returns -- 1 byte instead of 4
bytes
---
src/exchangedb/plugin_exchangedb_postgres.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c
b/src/exchangedb/plugin_exchangedb_postgres.c
index 8477464..a9d5db7 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -3058,7 +3058,7 @@ struct SelectRefundContext
/**
* Set to #GNUNET_SYSERR on error.
- */
+ */
int status;
};
@@ -6215,8 +6215,8 @@ missing_wire_cb (void *cls,
struct TALER_Amount amount;
json_t *wire;
struct GNUNET_TIME_Absolute deadline;
- /* bool? */ uint32_t tiny;
- /* bool? */ uint32_t done;
+ uint8_t tiny;
+ uint8_t done;
struct GNUNET_PQ_ResultSpec rs[] = {
GNUNET_PQ_result_spec_uint64 ("deposit_serial_id",
&rowid),
@@ -6228,10 +6228,10 @@ missing_wire_cb (void *cls,
&wire),
TALER_PQ_result_spec_absolute_time ("wire_deadline",
&deadline),
- GNUNET_PQ_result_spec_uint32 ("tiny",
- &tiny),
- GNUNET_PQ_result_spec_uint32 ("done",
- &done),
+ GNUNET_PQ_result_spec_auto_from_type ("tiny",
+ &tiny),
+ GNUNET_PQ_result_spec_auto_from_type ("done",
+ &done),
GNUNET_PQ_result_spec_end
};
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: fix type for bool to match what postgres returns -- 1 byte instead of 4 bytes,
gnunet <=