mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
bugfix: move vcol calculations down into the handler
This fixes a bug where handler::read_range_first (for example) needed to compare vcol values that were not calculated yet. As a bonus it fixes few cases where vcols were calculated twice
This commit is contained in:
@@ -9803,8 +9803,6 @@ copy_data_between_tables(THD *thd, TABLE *from, TABLE *to,
|
||||
error= 1;
|
||||
break;
|
||||
}
|
||||
if (from->vfield)
|
||||
from->update_virtual_fields(VCOL_UPDATE_FOR_READ);
|
||||
if (++thd->progress.counter >= time_to_report_progress)
|
||||
{
|
||||
time_to_report_progress+= MY_HOW_OFTEN_TO_WRITE/10;
|
||||
|
||||
Reference in New Issue
Block a user