[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] 02/04: added prepared statement
From: |
gnunet |
Subject: |
[taler-anastasis] 02/04: added prepared statement |
Date: |
Thu, 03 Sep 2020 14:37:01 +0200 |
This is an automated email from the git hooks/post-receive script.
dennis-neufeld pushed a commit to branch master
in repository anastasis.
commit cfa008eef42b7eed186c48ea66f4e017034493fd
Author: Dennis Neufeld <dennis.neufeld@students.bfh.ch>
AuthorDate: Wed Sep 2 16:30:58 2020 +0200
added prepared statement
---
src/stasis/plugin_anastasis_postgres.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/stasis/plugin_anastasis_postgres.c
b/src/stasis/plugin_anastasis_postgres.c
index 412b2f4..4a3039d 100644
--- a/src/stasis/plugin_anastasis_postgres.c
+++ b/src/stasis/plugin_anastasis_postgres.c
@@ -1461,6 +1461,15 @@ libanastasis_plugin_db_postgres_init (void *cls)
" AND"
" paid=FALSE;",
2),
+ GNUNET_PQ_make_prepare ("payment_select",
+ "SELECT"
+ " timestamp"
+ ",amount_val"
+ ",amount_frac"
+ ",paid"
+ " FROM anastasis_payment"
+ " WHERE payment_identifier=$1;",
+ 1),
GNUNET_PQ_make_prepare ("payments_select",
"SELECT"
" user_id"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.