mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -18444,7 +18444,7 @@ evaluate_join_record(JOIN *join, JOIN_TAB *join_tab,
|
||||
join_tab->tracker->r_rows++;
|
||||
|
||||
if (join_tab->table->vfield)
|
||||
update_virtual_fields(join->thd, join_tab->table);
|
||||
join_tab->table->update_virtual_fields(VCOL_UPDATE_FOR_READ);
|
||||
|
||||
if (select_cond)
|
||||
{
|
||||
@ -18897,7 +18897,7 @@ join_read_system(JOIN_TAB *tab)
|
||||
return -1;
|
||||
}
|
||||
if (table->vfield)
|
||||
update_virtual_fields(tab->join->thd, table);
|
||||
table->update_virtual_fields(VCOL_UPDATE_FOR_READ);
|
||||
store_record(table,record[1]);
|
||||
}
|
||||
else if (!table->status) // Only happens with left join
|
||||
@ -18944,7 +18944,7 @@ join_read_const(JOIN_TAB *tab)
|
||||
return -1;
|
||||
}
|
||||
if (table->vfield)
|
||||
update_virtual_fields(tab->join->thd, table);
|
||||
table->update_virtual_fields(VCOL_UPDATE_FOR_READ);
|
||||
store_record(table,record[1]);
|
||||
}
|
||||
else if (!(table->status & ~STATUS_NULL_ROW)) // Only happens with left join
|
||||
|
Reference in New Issue
Block a user