1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

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@ef2c0bcb9a
This commit is contained in:
Thirunarayanan Balathandayuthapani
2022-07-20 14:14:43 +05:30
parent c2300d06f7
commit f9ec9b6abb
5 changed files with 116 additions and 1 deletions

View File

@ -1184,7 +1184,9 @@ multi_delete::initialize_tables(JOIN *join)
table->file->ref_length,
MEM_STRIP_BUF_SIZE);
}
init_ftfuncs(thd, thd->lex->current_select, 1);
if (init_ftfuncs(thd, thd->lex->current_select, 1))
DBUG_RETURN(true);
DBUG_RETURN(thd->is_fatal_error);
}