summaryrefslogtreecommitdiff
path: root/storage/maria/ma_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_cache.c')
-rw-r--r--storage/maria/ma_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ma_cache.c b/storage/maria/ma_cache.c
index 6684a1df20b..59cc0ad6ba9 100644
--- a/storage/maria/ma_cache.c
+++ b/storage/maria/ma_cache.c
@@ -107,7 +107,7 @@ my_bool _ma_read_cache(MARIA_HA *handler, IO_CACHE *info, uchar *buff,
if (!my_errno || my_errno == HA_ERR_FILE_TOO_SHORT)
{
if (!handler->in_check_table)
- _ma_set_fatal_error(handler->s, HA_ERR_FILE_TOO_SHORT);
+ _ma_set_fatal_error(handler, HA_ERR_FILE_TOO_SHORT);
if (!my_errno)
my_errno= HA_ERR_WRONG_IN_RECORD;
}