summaryrefslogtreecommitdiff
path: root/sql/sql_cte.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_cte.cc')
-rw-r--r--sql/sql_cte.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_cte.cc b/sql/sql_cte.cc
index 6f62a38b231..aed37df9c42 100644
--- a/sql/sql_cte.cc
+++ b/sql/sql_cte.cc
@@ -993,7 +993,7 @@ With_element::process_columns_of_derived_unit(THD *thd,
while ((item= it++, name= nm++))
{
item->set_name(thd, *name);
- item->flags&= ~ITEM_FLAG_IS_AUTOGENERATED_NAME;
+ item->base_flags&= ~item_base_t::IS_AUTOGENERATED_NAME;
}
if (arena)
@@ -1036,7 +1036,7 @@ With_element::process_columns_of_derived_unit(THD *thd,
my_error(ER_BAD_FIELD_ERROR, MYF(0), name->str, "CYCLE clause");
return true;
}
- item->flags|= ITEM_FLAG_IS_IN_WITH_CYCLE;
+ item->base_flags|= item_base_t::IS_IN_WITH_CYCLE;
}
}
unit->columns_are_renamed= true;