mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Don't store vcol bitmaps in TABLE if table doesn't have virtual fields.
(Makes TABLE a bit smaller)
This commit is contained in:
@ -375,7 +375,8 @@ bool mysql_ha_open(THD *thd, TABLE_LIST *tables, SQL_HANDLER *reopen)
|
||||
|
||||
/* Always read all columns */
|
||||
table->read_set= &table->s->all_set;
|
||||
table->vcol_set= &table->s->all_set;
|
||||
if (table->vcol_set)
|
||||
table->vcol_set= &table->s->all_set;
|
||||
|
||||
/* Restore the state. */
|
||||
thd->set_open_tables(backup_open_tables);
|
||||
|
Reference in New Issue
Block a user