diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-07-05 17:43:32 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-07-05 17:43:32 +0400 |
commit | 3b9273d20334f95b85047058ae978615b61a57ed (patch) | |
tree | 78ce9901370c84f6e5f6d1b07e6cc487a6fee7bb /unittest | |
parent | a4d9fa99ea25fa87f7a8ecf36579ec1585d1c397 (diff) | |
parent | 58dd72f18cca5e706a5bd0dfcf3e22aba9bb8448 (diff) | |
download | mariadb-git-3b9273d20334f95b85047058ae978615b61a57ed.tar.gz |
Merge remote-tracking branch 'origin/bb-10.2-ext' into 10.3
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 |