[top_status_source] try to fix prepared_stmt destruct order

This commit is contained in:
Tim Stack 2022-09-19 09:13:01 -07:00
parent 5060b38f99
commit 9185518bda

View File

@ -103,7 +103,7 @@ struct user_msg_stmt {
void
top_status_source::update_user_msg()
{
static user_msg_stmt um_stmt;
static thread_local user_msg_stmt um_stmt;
auto& al = this->tss_fields[TSF_USER_MSG].get_value();
al.clear();