commit 75609cbceba0bcfccf8d2d9743e74fbdcb6100f9 parent a11393401265ba6a907b0d458507c1c6e83a4017 Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Tue, 28 Feb 2017 20:03:55 +0100 /history elements are returned with ORDER BY. Diffstat:
| M | src/backenddb/plugin_merchantdb_postgres.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c @@ -306,7 +306,8 @@ postgres_initialize (void *cls) " FROM merchant_proposal_data" " WHERE" " timestamp>=$1" - " AND merchant_pub=$2", + " AND merchant_pub=$2" + " ORDER BY timestamp", 2); /* Setup prepared "SELECT" statements */