Commit 68b63d17 authored by gkodinov@dl145s.mysql.com's avatar gkodinov@dl145s.mysql.com

Merge bk-internal:/home/bk/mysql-5.1

into  dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE/mysql-5.1-opt
parents af74fd07 45b6bafe
...@@ -1396,6 +1396,7 @@ int open_table_from_share(THD *thd, TABLE_SHARE *share, const char *alias, ...@@ -1396,6 +1396,7 @@ int open_table_from_share(THD *thd, TABLE_SHARE *share, const char *alias,
if (records > 1) if (records > 1)
{ {
memcpy(outparam->record[0], share->default_values, share->rec_buff_length); memcpy(outparam->record[0], share->default_values, share->rec_buff_length);
memcpy(outparam->record[1], share->default_values, share->null_bytes);
if (records > 2) if (records > 2)
memcpy(outparam->record[1], share->default_values, memcpy(outparam->record[1], share->default_values,
share->rec_buff_length); share->rec_buff_length);
......
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