gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-cashless2ecash] branch master updated: fix: wire gateway queries


From: gnunet
Subject: [taler-cashless2ecash] branch master updated: fix: wire gateway queries
Date: Mon, 06 May 2024 21:04:58 +0200

This is an automated email from the git hooks/post-receive script.

joel-haeberli pushed a commit to branch master
in repository cashless2ecash.

The following commit(s) were added to refs/heads/master by this push:
     new 7213c6a  fix: wire gateway queries
7213c6a is described below

commit 7213c6a528bb17a43d591746a4623dff6c97ea25
Author: Joel-Haeberli <haebu@rubigen.ch>
AuthorDate: Mon May 6 21:04:48 2024 +0200

    fix: wire gateway queries
---
 c2ec/db-postgres.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/c2ec/db-postgres.go b/c2ec/db-postgres.go
index 6b410d2..34c63cf 100644
--- a/c2ec/db-postgres.go
+++ b/c2ec/db-postgres.go
@@ -108,14 +108,14 @@ const PS_CONFIRMED_TRANSACTIONS_ASC_MAX = "SELECT * FROM 
" + WITHDRAWAL_TABLE_NA
        " ORDER BY " + WITHDRAWAL_FIELD_NAME_ID + " ASC" +
        " LIMIT $1" +
        " OFFSET ((SELECT COUNT(*) FROM " + WITHDRAWAL_TABLE_NAME +
-       " WHERE " + WITHDRAWAL_FIELD_NAME_STATUS + "=" + string(CONFIRMED) + 
")-1)" // TODO (-time since request)
+       " WHERE " + WITHDRAWAL_FIELD_NAME_STATUS + "='" + string(CONFIRMED) + 
"')-1)" // TODO (-time since request)
 
 const PS_CONFIRMED_TRANSACTIONS_DESC_MAX = "SELECT * FROM " + 
WITHDRAWAL_TABLE_NAME +
        " WHERE " + WITHDRAWAL_FIELD_NAME_STATUS + "='" + string(CONFIRMED) + 
"'" +
        " ORDER BY " + WITHDRAWAL_FIELD_NAME_ID + " DESC" +
        " LIMIT $1" +
        " OFFSET ((SELECT COUNT(*) FROM " + WITHDRAWAL_TABLE_NAME +
-       " WHERE " + WITHDRAWAL_FIELD_NAME_STATUS + "=" + string(CONFIRMED) + 
")-1)" // TODO (-time since request)
+       " WHERE " + WITHDRAWAL_FIELD_NAME_STATUS + "='" + string(CONFIRMED) + 
"')-1)" // TODO (-time since request)
 
 const PS_GET_TRANSFERS_ASC = "SELECT * FROM " + TRANSFER_TABLE_NAME +
        " ORDER BY " + TRANSFER_FIELD_NAME_ROW_ID + " ASC" +

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]