mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 13:45:34 +02:00
InnoDB: Disable an assertion that fails on old data due to Bug #9526
innobase/row/row0sel.c: Disable an assertion that fails for old UTF-8 ENUM columns (Bug #9526)
This commit is contained in:
parent
b419262fe4
commit
e2e40c7688
1 changed files with 3 additions and 1 deletions
|
|
@ -2364,7 +2364,9 @@ row_sel_field_store_in_mysql_format(
|
|||
|
||||
ut_a(templ->mbmaxlen > templ->mbminlen
|
||||
|| templ->mysql_col_len == len);
|
||||
ut_a(!templ->mbmaxlen
|
||||
/* The following assertion would fail for old tables
|
||||
containing UTF-8 ENUM columns due to Bug #9526. */
|
||||
ut_ad(!templ->mbmaxlen
|
||||
|| !(templ->mysql_col_len % templ->mbmaxlen));
|
||||
ut_a(len * templ->mbmaxlen >= templ->mysql_col_len);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue