mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-4824 userstats - wrong user statistics
(and valgrind warnings) * move thd userstat initialization to the same function that was adding thd userstat to global counters. * initialize thd->start_bytes_received in THD::init (when thd->userstat_running is set)
This commit is contained in:
@ -1337,7 +1337,7 @@ Event_job_data::execute(THD *thd, bool drop)
|
||||
|
||||
DBUG_ENTER("Event_job_data::execute");
|
||||
|
||||
mysql_reset_thd_for_next_command(thd, 0);
|
||||
mysql_reset_thd_for_next_command(thd);
|
||||
|
||||
/*
|
||||
MySQL parser currently assumes that current database is either
|
||||
|
Reference in New Issue
Block a user