mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
Fixed excessive assertion reported in BUG#35031
"Using maria-block-size != 8192 makes Maria crash or say "error 174"" storage/maria/ma_create.c: fixed excessive assertion
This commit is contained in:
parent
f93bfec8f2
commit
963cd16722
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ int maria_create(const char *name, enum data_file_type datafile_type,
|
|||
DBUG_PRINT("enter", ("keys: %u columns: %u uniques: %u flags: %u",
|
||||
keys, columns, uniques, flags));
|
||||
|
||||
DBUG_ASSERT(maria_block_size && maria_block_size % IO_SIZE == 0);
|
||||
DBUG_ASSERT(maria_block_size && maria_block_size % MARIA_MIN_KEY_BLOCK_LENGTH == 0);
|
||||
LINT_INIT(dfile);
|
||||
LINT_INIT(file);
|
||||
|
||||
|
|
Loading…
Reference in a new issue