mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
InnoDB: Merge fix of Bug #8771 from the 4.1 tree
innobase/row/row0sel.c: Manual merge (Bug #8771)
This commit is contained in:
commit
21a6c52c4f
1 changed files with 1 additions and 1 deletions
|
@ -2501,7 +2501,7 @@ row_sel_store_mysql_rec(
|
|||
}
|
||||
|
||||
/* Handle UCS2 strings differently. */
|
||||
if (templ->mbminlen == 2) {
|
||||
if (pad_char != '\0' && templ->mbminlen == 2) {
|
||||
/* There are two bytes per char, so the length
|
||||
has to be an even number. */
|
||||
ut_a(!(templ->mysql_col_len & 1));
|
||||
|
|
Loading…
Reference in a new issue