Commit 56c517bd authored by unknown's avatar unknown

Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1

into hundin.mysql.fi:/home/marko/mysql-4.1

parents c56d0283 a10fb697
...@@ -2407,10 +2407,11 @@ row_sel_store_mysql_rec( ...@@ -2407,10 +2407,11 @@ row_sel_store_mysql_rec(
collations will be introduced in 4.1, collations will be introduced in 4.1,
we hardcode the charset-collation codes here. we hardcode the charset-collation codes here.
5.0 will use a different approach. */ 5.0 will use a different approach. */
if (templ->charset == 35 if (pad_char != '\0'
&& (templ->charset == 35
|| templ->charset == 90 || templ->charset == 90
|| (templ->charset >= 128 || (templ->charset >= 128
&& templ->charset <= 144)) { && templ->charset <= 144))) {
/* There are two bytes per char, so the length /* There are two bytes per char, so the length
has to be an even number. */ has to be an even number. */
ut_a(!(templ->mysql_col_len & 1)); 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