diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-12-14 00:34:35 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-12-14 19:25:42 +0100 |
commit | 15c1a877c617fd29ff61e2ebd1f6fac72e54afce (patch) | |
tree | 2781d327ca51bce8c172f0907bb93c86cc13d579 /src/bank-lib/test_bank_interpreter.c | |
parent | c2b6a1065474df88df8d501d7a83b67032bd121d (diff) | |
download | exchange-15c1a877c617fd29ff61e2ebd1f6fac72e54afce.tar.gz exchange-15c1a877c617fd29ff61e2ebd1f6fac72e54afce.tar.bz2 exchange-15c1a877c617fd29ff61e2ebd1f6fac72e54afce.zip |
/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.
Diffstat (limited to 'src/bank-lib/test_bank_interpreter.c')
-rw-r--r-- | src/bank-lib/test_bank_interpreter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bank-lib/test_bank_interpreter.c b/src/bank-lib/test_bank_interpreter.c index fe6b4e1a2..562b6dae6 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, |