mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
fix feedback plugin not to crash in debug builds
feedback was bzero-ing thd->status_vars.memory_used, but server was asserting the correct value of it
This commit is contained in:
@@ -260,7 +260,7 @@ ret:
|
||||
the effect of the background thread on SHOW STATUS.
|
||||
*/
|
||||
mysql_mutex_lock(&LOCK_thread_count);
|
||||
bzero(&thd->status_var, sizeof(thd->status_var));
|
||||
thd->set_status_var_init();
|
||||
thread_count--;
|
||||
thd->killed= KILL_CONNECTION;
|
||||
mysql_cond_broadcast(&COND_thread_count);
|
||||
|
Reference in New Issue
Block a user