summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-11-14 09:55:09 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2020-11-14 09:55:09 +0100
commitc8be6aafb97a6fac9ddc190aeb40a30eaeb47d4b (patch)
treea41df8eb863b926918f0c13e7e3de5e2370a607b /unittest
parentbb328a2a274b0b5cc024f298fcac70b3f0fb75aa (diff)
downloadmariadb-git-c8be6aafb97a6fac9ddc190aeb40a30eaeb47d4b.tar.gz
Fix to make it compiling on new ubuntu.
Diffstat (limited to 'unittest')
-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 01cc8725ecc..de24e39539c 100644
--- a/unittest/sql/mf_iocache-t.cc
+++ b/unittest/sql/mf_iocache-t.cc
@@ -95,7 +95,7 @@ void sql_print_error(const char *format, ...)
/*** end of encryption tweaks and stubs ****************************/
-IO_CACHE info;
+static IO_CACHE info;
#define CACHE_SIZE 16384
#define INFO_TAIL ", pos_in_file = %llu, pos_in_mem = %lu", \