mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -929,9 +929,6 @@ retry:
|
||||
}
|
||||
goto ok;
|
||||
}
|
||||
/* Generate values for virtual fields */
|
||||
if (table->vfield)
|
||||
table->update_virtual_fields(VCOL_UPDATE_FOR_READ);
|
||||
if (cond && !cond->val_int())
|
||||
{
|
||||
if (thd->is_error())
|
||||
|
Reference in New Issue
Block a user