mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +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:
@@ -1556,7 +1556,7 @@ public:
|
||||
/* Slave applier execution context */
|
||||
Relay_log_info* rli_slave;
|
||||
|
||||
void reset_for_next_command(bool calculate_userstat);
|
||||
void reset_for_next_command();
|
||||
/*
|
||||
Constant for THD::where initialization in the beginning of every query.
|
||||
|
||||
|
Reference in New Issue
Block a user