Fix SELECT statement.

This commit is contained in:
Marcello Stanisci 2018-07-10 11:52:13 +02:00
parent 5e25d7dbcf
commit 8f6b8dbe97
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -1303,8 +1303,8 @@ postgres_prepare (PGconn *db_conn)
GNUNET_PQ_make_prepare ("get_kyc_status",
"SELECT"
"(kyc_checked"
",merchant_serial_id)"
" kyc_checked"
",merchant_serial_id"
" FROM kyc_merchants"
" WHERE payto_url=$1",
1),
@ -6635,10 +6635,12 @@ postgres_get_kyc_status (void *cls,
GNUNET_PQ_result_spec_end
};
qs = GNUNET_PQ_eval_prepared_singleton_select (session->conn,
qs = GNUNET_PQ_eval_prepared_singleton_select
(session->conn,
"get_kyc_status",
params,
rs);
if (0 >= qs)
return qs;