diff options
Diffstat (limited to 'storage/maria/ma_statrec.c')
-rw-r--r-- | storage/maria/ma_statrec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ma_statrec.c b/storage/maria/ma_statrec.c index e085821b9d0..89a5a30f490 100644 --- a/storage/maria/ma_statrec.c +++ b/storage/maria/ma_statrec.c @@ -294,6 +294,6 @@ int _ma_read_rnd_static_record(MARIA_HA *info, uchar *buf, } /* my_errno should be set if rec_cache.error == -1 */ if (info->rec_cache.error != -1 || my_errno == 0) - my_errno=HA_ERR_WRONG_IN_RECORD; + _ma_set_fatal_error(share, HA_ERR_WRONG_IN_RECORD); DBUG_RETURN(my_errno); /* Something wrong (EOF?) */ } |