summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r--sql/sql_load.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index cc5a5c7c794..ddb5029c78a 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -431,13 +431,6 @@ int mysql_load(THD *thd, const sql_exchange *ex, TABLE_LIST *table_list,
is_concurrent= (table_list->lock_type == TL_WRITE_CONCURRENT_INSERT);
#endif
- if (table->versioned(VERS_TIMESTAMP) && handle_duplicates == DUP_REPLACE)
- {
- // Additional memory may be required to create historical items.
- if (table_list->set_insert_values(thd->mem_root))
- DBUG_RETURN(TRUE);
- }
-
if (!fields_vars.elements)
{
Field_iterator_table_ref field_iterator;