fix type for bool to match what postgres returns -- 1 byte instead of 4 bytes

This commit is contained in:
Christian Grothoff 2018-01-15 15:18:00 +01:00
parent 9fffeee4ef
commit 2526143a4f
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -3058,7 +3058,7 @@ struct SelectRefundContext
/** /**
* Set to #GNUNET_SYSERR on error. * Set to #GNUNET_SYSERR on error.
*/ */
int status; int status;
}; };
@ -6215,8 +6215,8 @@ missing_wire_cb (void *cls,
struct TALER_Amount amount; struct TALER_Amount amount;
json_t *wire; json_t *wire;
struct GNUNET_TIME_Absolute deadline; struct GNUNET_TIME_Absolute deadline;
/* bool? */ uint32_t tiny; uint8_t tiny;
/* bool? */ uint32_t done; uint8_t done;
struct GNUNET_PQ_ResultSpec rs[] = { struct GNUNET_PQ_ResultSpec rs[] = {
GNUNET_PQ_result_spec_uint64 ("deposit_serial_id", GNUNET_PQ_result_spec_uint64 ("deposit_serial_id",
&rowid), &rowid),
@ -6228,10 +6228,10 @@ missing_wire_cb (void *cls,
&wire), &wire),
TALER_PQ_result_spec_absolute_time ("wire_deadline", TALER_PQ_result_spec_absolute_time ("wire_deadline",
&deadline), &deadline),
GNUNET_PQ_result_spec_uint32 ("tiny", GNUNET_PQ_result_spec_auto_from_type ("tiny",
&tiny), &tiny),
GNUNET_PQ_result_spec_uint32 ("done", GNUNET_PQ_result_spec_auto_from_type ("done",
&done), &done),
GNUNET_PQ_result_spec_end GNUNET_PQ_result_spec_end
}; };