From f9ec9b6abbce8c88b0cfd1888135b9701415162a Mon Sep 17 00:00:00 2001 From: Thirunarayanan Balathandayuthapani Date: Wed, 20 Jul 2022 14:14:43 +0530 Subject: MDEV-27282 InnoDB: Failing assertion: !query->intersection - query->intersection fails to get freed if the query exceeds innodb_ft_result_cache_limit - errors from init_ftfuncs were not propogated by delete command This is taken from percona/percona-server@ef2c0bcb9a34aeb06de0058d7c2a2969416b35a7 --- sql/item_func.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/item_func.cc') diff --git a/sql/item_func.cc b/sql/item_func.cc index 3fd69405456..2c79ca531d3 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -6012,6 +6012,8 @@ bool Item_func_match::init_search(THD *thd, bool no_order) ft_handler= table->file->ft_init_ext(flags, key, ft_tmp); + if (!ft_handler) + DBUG_RETURN(1); if (join_key) table->file->ft_handler=ft_handler; -- cgit v1.2.1