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.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index fe574db528f..489835c0a5f 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -1106,6 +1106,7 @@ read_sep_field(THD *thd, COPY_INFO &info, TABLE_LIST *table_list,
}
}
restore_record(table, s->default_values);
+ table->reset_default_fields();
while ((item= it++))
{