• Sergei Golubchik's avatar
    bugfix: cmp_item_row::alloc_comparators() allocated on the wrong arena · 798fcb54
    Sergei Golubchik authored
    it used current_thd->alloc() and allocated on the thd's execution arena,
    not on table->expr_arena.
    
    Remove THD::arena_for_cached_items that is temporarily set in
    update_virtual_fields(), and replaces THD arena in get_datetime_value().
    Instead set THD arena to table->expr_arena for the whole  duration
    of update_virtual_fields()
    798fcb54
table.cc 203 KB