summaryrefslogtreecommitdiff
path: root/unittest/sql
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-10-09 19:08:16 +0300
committerMonty <monty@mariadb.org>2018-12-09 20:49:05 +0200
commitae58cd6b87bf1f872093816691ebdd46bef50c7f (patch)
tree02fc330a4d1296fce819b7345eb5ef6cbc3061dd /unittest/sql
parent9207a838ededa0d5f40129848de20a2075ab0e44 (diff)
downloadmariadb-git-ae58cd6b87bf1f872093816691ebdd46bef50c7f.tar.gz
Simple cleanups (no logic changes)
Diffstat (limited to 'unittest/sql')
-rw-r--r--unittest/sql/mf_iocache-t.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/sql/mf_iocache-t.cc b/unittest/sql/mf_iocache-t.cc
index 3fff2d49daa..8397c539dd5 100644
--- a/unittest/sql/mf_iocache-t.cc
+++ b/unittest/sql/mf_iocache-t.cc
@@ -352,7 +352,7 @@ void mdev17133()
// random size 2nd read
res= my_b_read(&info, buf_i + total + MY_MIN(19, curr_read_size),
19 >= curr_read_size ? 0 : curr_read_size - 19);
- ok(res == 0, "rest of read %lu", curr_read_size - 19);
+ ok(res == 0, "rest of read %lu", (ulong) (curr_read_size - 19));
// mark read bytes in the used part of the cache buffer
memset(info.buffer, 0, info.read_pos - info.buffer);