diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-07-04 15:31:25 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-07-04 15:31:25 +0400 |
commit | 5c0df0e4a89b12813cef665533e852a50ecaafae (patch) | |
tree | b75df302abedca56d679ef04a019fac3a5fc7dbc /unittest | |
parent | 25ad623d64ebc34093544875e5b0ebd6101e975b (diff) | |
parent | ad2d722acd7bd7a816dff7838f3fa2dcaaeec8da (diff) | |
download | mariadb-git-5c0df0e4a89b12813cef665533e852a50ecaafae.tar.gz |
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/sql/mf_iocache-t.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/sql/mf_iocache-t.cc b/unittest/sql/mf_iocache-t.cc index a7db7c58713..36860892508 100644 --- a/unittest/sql/mf_iocache-t.cc +++ b/unittest/sql/mf_iocache-t.cc @@ -93,7 +93,7 @@ IO_CACHE info; #define CACHE_SIZE 16384 #define INFO_TAIL ", pos_in_file = %llu, pos_in_mem = %lu", \ - info.pos_in_file, (ulong) (*info.current_pos - info.request_pos) + info.pos_in_file, (ulong) ((info.type == READ_CACHE ? info.read_pos : info.write_pos) - info.request_pos) #define FILL 0x5A |