Commit 5176be8d authored by unknown's avatar unknown

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

into  dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE/mysql-5.1-opt


sql/table.cc:
  Auto merged
parents cdc86ac1 f8d8b3db
...@@ -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