summaryrefslogtreecommitdiff
path: root/storage/maria/ma_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_init.c')
-rw-r--r--storage/maria/ma_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/maria/ma_init.c b/storage/maria/ma_init.c
index c13f01001b3..f657289ac76 100644
--- a/storage/maria/ma_init.c
+++ b/storage/maria/ma_init.c
@@ -56,6 +56,8 @@ void history_state_free(MARIA_STATE_HISTORY_CLOSED *closed_history)
int maria_init(void)
{
+ DBUG_ASSERT(maria_block_size &&
+ maria_block_size % MARIA_MIN_KEY_BLOCK_LENGTH == 0);
if (!maria_inited)
{
maria_inited= TRUE;