aboutsummaryrefslogtreecommitdiff
path: root/src/backenddb/pg_insert_template.c
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-06-16 17:44:20 +0200
committerFlorian Dold <florian@dold.me>2024-06-16 17:44:20 +0200
commit92001c4385f0d5cb43b5c3ee589629f0da420e34 (patch)
tree55749c6415b2b5e00dc5a8ad64e38b889c7b335f /src/backenddb/pg_insert_template.c
parent4f91af9910c31259b546b96cb01e49f9a944e10c (diff)
remove redundant required_currency field/column
Diffstat (limited to 'src/backenddb/pg_insert_template.c')
-rw-r--r--src/backenddb/pg_insert_template.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/backenddb/pg_insert_template.c b/src/backenddb/pg_insert_template.c
index 67cae495..a755ba9a 100644
--- a/src/backenddb/pg_insert_template.c
+++ b/src/backenddb/pg_insert_template.c
@@ -45,9 +45,6 @@ TMH_PG_insert_template (void *cls,
(NULL == td->editable_defaults)
? GNUNET_PQ_query_param_null ()
: TALER_PQ_query_param_json (td->editable_defaults),
- (NULL == td->required_currency)
- ? GNUNET_PQ_query_param_null ()
- : GNUNET_PQ_query_param_string (td->required_currency),
GNUNET_PQ_query_param_end
};
@@ -61,10 +58,9 @@ TMH_PG_insert_template (void *cls,
",otp_device_id"
",template_contract"
",editable_defaults"
- ",required_currency"
")"
" SELECT merchant_serial,"
- " $2, $3, $4, $5, $6, $7"
+ " $2, $3, $4, $5, $6"
" FROM merchant_instances"
" WHERE merchant_id=$1");
return GNUNET_PQ_eval_prepared_non_select (pg->conn,