mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Removed Item::common_flags and replaced it with bit fields
This is to make the Item instances smaller
This commit is contained in:
committed by
Sergei Golubchik
parent
cd1782d26a
commit
00d13069dd
@@ -993,7 +993,7 @@ With_element::process_columns_of_derived_unit(THD *thd,
|
||||
while ((item= it++, name= nm++))
|
||||
{
|
||||
item->set_name(thd, *name);
|
||||
item->common_flags&= ~IS_AUTO_GENERATED_NAME;
|
||||
item->is_autogenerated_name= 0;
|
||||
}
|
||||
|
||||
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->common_flags|= IS_IN_WITH_CYCLE;
|
||||
item->is_in_with_cycle= 1;
|
||||
}
|
||||
}
|
||||
unit->columns_are_renamed= true;
|
||||
|
Reference in New Issue
Block a user