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

innobase/row/row0sel.c:
  Manual merge (Bug #8771)
This commit is contained in:
unknown 2005-03-02 12:49:51 +02:00
commit 21a6c52c4f

View file

@ -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));