mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup: remove TABLE::vcol_set
use a read_set instead. a bit in the read_set means "the field value is needed" (read or generated, whatever it takes).
This commit is contained in:
@ -525,15 +525,10 @@ static bool create_full_part_field_array(THD *thd, TABLE *table,
|
||||
full_part_field_array may be NULL if storage engine supports native
|
||||
partitioning.
|
||||
*/
|
||||
table->vcol_set= table->read_set= &part_info->full_part_field_set;
|
||||
table->read_set= &part_info->full_part_field_set;
|
||||
if ((ptr= part_info->full_part_field_array))
|
||||
for (; *ptr; ptr++)
|
||||
{
|
||||
if ((*ptr)->vcol_info)
|
||||
table->mark_virtual_col(*ptr);
|
||||
else
|
||||
bitmap_fast_test_and_set(table->read_set, (*ptr)->field_index);
|
||||
}
|
||||
table->mark_column_with_deps(*ptr);
|
||||
table->default_column_bitmaps();
|
||||
|
||||
end:
|
||||
|
Reference in New Issue
Block a user