mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
cleanup: TABLE::update_virtual_fields
Make update_virtual_fields() a method of TABLE, to be consistent with TABLE::update_default_fields().
This commit is contained in:
@ -3383,7 +3383,7 @@ int JOIN_TAB_SCAN::next()
|
||||
{
|
||||
join_tab->tracker->r_rows++;
|
||||
if (table->vfield)
|
||||
update_virtual_fields(thd, table);
|
||||
table->update_virtual_fields(VCOL_UPDATE_FOR_READ);
|
||||
}
|
||||
|
||||
while (!err && select && (skip_rc= select->skip_record(thd)) <= 0)
|
||||
@ -3399,7 +3399,7 @@ int JOIN_TAB_SCAN::next()
|
||||
{
|
||||
join_tab->tracker->r_rows++;
|
||||
if (table->vfield)
|
||||
update_virtual_fields(thd, table);
|
||||
table->update_virtual_fields(VCOL_UPDATE_FOR_READ);
|
||||
}
|
||||
}
|
||||
|
||||
@ -3924,7 +3924,7 @@ int JOIN_TAB_SCAN_MRR::next()
|
||||
(uchar *) (*ptr) <= cache->end_pos);
|
||||
*/
|
||||
if (join_tab->table->vfield)
|
||||
update_virtual_fields(join->thd, join_tab->table);
|
||||
join_tab->table->update_virtual_fields(VCOL_UPDATE_FOR_READ);
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
|
Reference in New Issue
Block a user