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 9cf82c1c6d0..b2180d4997a 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -303,7 +303,7 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
{
for (Field **vfield_ptr= table->vfield; *vfield_ptr; vfield_ptr++)
{
- if ((*vfield_ptr)->stored_in_db)
+ if ((*vfield_ptr)->vcol_info->stored_in_db)
{
thd->lex->unit.insert_table_with_stored_vcol= table;
break;