Skip to content

Commit bb1d250

Browse files
author
Aakanksha Verma
committed
Bug #27155294 MAX_EXECUTION_TIME NOT INTERUPTED WITH FULLTEXT SEARCH
USING MECAB Post push fix for asan failure for the added test case innodb.fts_exec_interrupt. Reviewed by: Jimmy Yang over IM.
1 parent 7fe8596 commit bb1d250

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

storage/innobase/fts/fts0que.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4114,6 +4114,7 @@ fts_query(
41144114
&query, &will_be_ignored);
41154115
if (query.error == DB_INTERRUPTED) {
41164116
error = DB_INTERRUPTED;
4117+
ut_free(lc_query_str);
41174118
goto func_exit;
41184119
}
41194120

@@ -4144,6 +4145,10 @@ fts_query(
41444145

41454146
if (trx_is_interrupted(trx)) {
41464147
error = DB_INTERRUPTED;
4148+
ut_free(lc_query_str);
4149+
if (result != NULL) {
4150+
fts_query_free_result(*result);
4151+
}
41474152
goto func_exit;
41484153
}
41494154

0 commit comments

Comments
 (0)