• Sergei Golubchik's avatar
    MDEV-7113 difference between check_vcol_func_processor and check_partition_func_processor · 5d0122bd
    Sergei Golubchik authored
    MDEV-6789 segfault in Item_func_from_unixtime::get_date on updating table with virtual columns
    
    * prohibit VALUES in partitioning expression
    * prohibit user and system variables in virtual column expressions
    * fix Item_func_date_format to cache locale (for %M/%W to return the same as MONTHNAME/DAYNAME)
    * fix Item_func_from_unixtime to cache time_zone directly, not THD (and not to crash)
    * added tests for other incorrectly allowed (in vcols) functions to see that they don't crash
    5d0122bd
item_timefunc.cc 87.8 KB