Skip to content

Commit 2cb5fee

Browse files
author
Shaohua Wang
committed
Followup:BUG#23479595 SEGMENTATION FAULT WHEN SELECT FTS INDEX TABLES IN
INFORMATION SCHEMA Fix memory leak issue of i_innodb.fts_IS_tables found by ASAN.
1 parent 905b173 commit 2cb5fee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • storage/innobase/handler

storage/innobase/handler/i_s.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3004,8 +3004,6 @@ i_s_fts_deleted_generic_fill(
30043004
DBUG_RETURN(0);
30053005
}
30063006

3007-
deleted = fts_doc_ids_create();
3008-
30093007
user_table = dict_table_open_on_name(
30103008
fts_internal_tbl_name, FALSE, FALSE, DICT_ERR_IGNORE_NONE);
30113009

@@ -3017,6 +3015,8 @@ i_s_fts_deleted_generic_fill(
30173015
DBUG_RETURN(0);
30183016
}
30193017

3018+
deleted = fts_doc_ids_create();
3019+
30203020
trx = trx_allocate_for_background();
30213021
trx->op_info = "Select for FTS DELETE TABLE";
30223022

0 commit comments

Comments
 (0)