Skip to content

Commit 1215826

Browse files
committed
MDEV-24279 Segfault after 1 day and 5 minutes uptime
feedback plugin now fakes a SHOW command to force create_schema_table() to instantiate the table at once, not lazily. The test from plugins.feedback_plugin_send applies. Caused by e64084d
1 parent 86fc37b commit 1215826

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin/feedback/sender_thread.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ static int prepare_for_fill(TABLE_LIST *tables)
117117

118118
tables->init_one_table(&INFORMATION_SCHEMA_NAME, &tbl_name, 0, TL_READ);
119119
tables->schema_table= i_s_feedback;
120+
tables->schema_table_reformed= 1;
120121
tables->table= create_schema_table(thd, tables);
121122
if (!tables->table)
122123
return 1;

0 commit comments

Comments
 (0)