Commit 74194d23 authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

InnoDB: Merge fix of Bug #8771 from the 4.1 tree

parents 2d9909ae c75036ed
......@@ -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));
......
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