mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-15465 Server crash or ASAN heap-use-after-free in Item_func_match::cleanup upon using FT search with partitioning.
Partition engine FT keys are implemented in such a way that the FT function's cleanup() methods use table's internals. So calling them after close_thread_tables is unsafe.
This commit is contained in:
@ -1916,6 +1916,7 @@ bool st_select_lex::cleanup()
|
||||
|
||||
cleanup_order(order_list.first);
|
||||
cleanup_order(group_list.first);
|
||||
cleanup_ftfuncs(this);
|
||||
|
||||
if (join)
|
||||
{
|
||||
|
Reference in New Issue
Block a user