From 15c1a877c617fd29ff61e2ebd1f6fac72e54afce Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 14 Dec 2018 00:34:35 +0100 Subject: /history API semantics extended. That API has now a new 'ordering' flag that lets the client choose what ordering the results should have: ascending or descending. In particular, this change adapted the fakebank and tests logic to such introduction. --- src/bank-lib/test_bank_interpreter.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bank-lib/test_bank_interpreter.c') diff --git a/src/bank-lib/test_bank_interpreter.c b/src/bank-lib/test_bank_interpreter.c index fe6b4e1a..562b6dae 100644 --- a/src/bank-lib/test_bank_interpreter.c +++ b/src/bank-lib/test_bank_interpreter.c @@ -794,6 +794,7 @@ interpreter_run (void *cls) &auth, cmd->details.history.account_number, cmd->details.history.direction, + cmd->details.history.ascending, rowid, cmd->details.history.num_results, &history_cb, -- cgit v1.2.3