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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index b1167534491..6bfe01ef6df 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -410,7 +410,7 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
table->prepare_triggers_for_insert_stmt_or_event();
table->mark_columns_needed_for_insert();
- if (table->s->virtual_stored_fields)
+ if (table->s->has_virtual_stored_fields)
thd->lex->unit.insert_table_with_stored_vcol= table;
uint tot_length=0;