summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorSergey Petrunia <sergefp@mysql.com>2008-07-15 21:46:02 +0400
committerSergey Petrunia <sergefp@mysql.com>2008-07-15 21:46:02 +0400
commiteb8d8d3e3a7aa97dd73332d2be2fbff128eee971 (patch)
tree466955c9bb93adf167f39ad0a759ea8e1ac8144d /sql/sql_table.cc
parentbbecb196087ee236885fcd4bfc99389d3edf853a (diff)
parent2951f00be4c2e332686ca713f77dab39615ea083 (diff)
downloadmariadb-git-eb8d8d3e3a7aa97dd73332d2be2fbff128eee971.tar.gz
Merge fix for BUG#35478 into 5.1
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 518cda6fa80..2b3b5ef67d9 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -7113,7 +7113,7 @@ copy_data_between_tables(TABLE *from,TABLE *to,
/* Tell handler that we have values for all columns in the to table */
to->use_all_columns();
- init_read_record(&info, thd, from, (SQL_SELECT *) 0, 1,1);
+ init_read_record(&info, thd, from, (SQL_SELECT *) 0, 1, 1, FALSE);
if (ignore)
to->file->extra(HA_EXTRA_IGNORE_DUP_KEY);
thd->row_count= 0;