summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-01-27 19:56:57 +0100
committerChristian Grothoff <christian@grothoff.org>2016-01-27 19:56:57 +0100
commit4506b4878ffb4f827cd0be0ab7587ed3654edd0d (patch)
tree23f377ecf0dda630ee8375c187dde6b45ca66cc1 /src
parent649879b0b6413166e4e24c7bd52993576b72d266 (diff)
downloadexchange-4506b4878ffb4f827cd0be0ab7587ed3654edd0d.tar.gz
exchange-4506b4878ffb4f827cd0be0ab7587ed3654edd0d.tar.bz2
exchange-4506b4878ffb4f827cd0be0ab7587ed3654edd0d.zip
fix name of member to order by
Diffstat (limited to 'src')
-rw-r--r--src/mintdb/plugin_mintdb_postgres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c
index ee63b006..fc204f5e 100644
--- a/src/mintdb/plugin_mintdb_postgres.c
+++ b/src/mintdb/plugin_mintdb_postgres.c
@@ -954,7 +954,7 @@ postgres_prepare (PGconn *db_conn)
" WHERE"
" tiny=false AND"
" done=false"
- " ORDER BY execution_time ASC"
+ " ORDER BY wire_deadline ASC"
" LIMIT 1;",
0, NULL);
@@ -977,7 +977,7 @@ postgres_prepare (PGconn *db_conn)
" merchant_pub=$1 AND"
" h_wire=$2 AND"
" done=false"
- " ORDER BY execution_time ASC"
+ " ORDER BY wire_deadline ASC"
" LIMIT $3",
3, NULL);