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 e64084d5a3
This commit is contained in:
Sergei Golubchik 2020-12-11 20:35:25 +01:00
parent 86fc37b668
commit 121582647c

View file

@ -117,6 +117,7 @@ static int prepare_for_fill(TABLE_LIST *tables)
tables->init_one_table(&INFORMATION_SCHEMA_NAME, &tbl_name, 0, TL_READ);
tables->schema_table= i_s_feedback;
tables->schema_table_reformed= 1;
tables->table= create_schema_table(thd, tables);
if (!tables->table)
return 1;