Commit 6c907625 authored by Sergei Golubchik's avatar Sergei Golubchik

issue an informative error message for a common Aria problem when opening a table

(incorrect block size)
parent 1776f2b8
......@@ -488,6 +488,10 @@ MARIA_HA *maria_open(const char *name, int mode, uint open_flags)
(uint) share->base.block_size,
(uint) maria_block_size));
my_errno=HA_ERR_UNSUPPORTED;
my_printf_error(my_errno, "Wrong block size %u; Expected %u",
MYF(0),
(uint) share->base.block_size,
(uint) maria_block_size);
goto err;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment