mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 15:25:33 +02: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:
parent
ab476a8d10
commit
2553f143fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue