mariadb/mysql-test/suite/gcol
Nikita Malyavin 5acd391e8b MDEV-16039 Crash when selecting virtual columns generated using functions with DAYNAME()
* Allocate items on thd->mem_root while refixing vcol exprs
* Make vcol tree changes register and roll them back after the statement is executed.

Explanation:
Due to collation implementation specifics an Item tree could change while fixing.
The tricky thing here is to make it on a proper arena.
It's usually not a problem when a field is deterministic, however, makes a pain vice-versa, during allocation allocating.
A non-deterministic field should be refixed on each statement, since it depends on the environment state.
Changing the tree will be temporary and therefore it should be reverted after the statement execution.
2020-07-21 16:18:00 +10:00
..
inc Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
r MDEV-16039 Crash when selecting virtual columns generated using functions with DAYNAME() 2020-07-21 16:18:00 +10:00
t MDEV-16039 Crash when selecting virtual columns generated using functions with DAYNAME() 2020-07-21 16:18:00 +10:00