Commit 12158264 authored by Sergei Golubchik's avatar Sergei Golubchik

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 e64084d5
parent 86fc37b6
...@@ -117,6 +117,7 @@ static int prepare_for_fill(TABLE_LIST *tables) ...@@ -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->init_one_table(&INFORMATION_SCHEMA_NAME, &tbl_name, 0, TL_READ);
tables->schema_table= i_s_feedback; tables->schema_table= i_s_feedback;
tables->schema_table_reformed= 1;
tables->table= create_schema_table(thd, tables); tables->table= create_schema_table(thd, tables);
if (!tables->table) if (!tables->table)
return 1; return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment