diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-12-11 20:35:25 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-12-11 20:36:06 +0100 |
commit | 121582647ce999a5418cf705646744f2f7fe4065 (patch) | |
tree | 93ac098b7ee96385a5e8e61906f16fc9c649470b /plugin | |
parent | 86fc37b66877e45c38593e7af15159c32f81eb7c (diff) | |
download | mariadb-git-121582647ce999a5418cf705646744f2f7fe4065.tar.gz |
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 e64084d5a3a7
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/feedback/sender_thread.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/feedback/sender_thread.cc b/plugin/feedback/sender_thread.cc index 8e2e9dd5ed6..943443f60fe 100644 --- a/plugin/feedback/sender_thread.cc +++ b/plugin/feedback/sender_thread.cc @@ -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; |