[MDEV-4824] userstats - wrong user statistics Created: 2013-07-29 Updated: 2013-11-12 Resolved: 2013-11-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.32 |
| Fix Version/s: | 5.5.34 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Patryk Pomykalski | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | user_statistics | ||
| Description |
|
At least bytes_received can be wrong. In function update_global_user_stats_with_user:
thd->start_bytes_received is set in do_command(), but it is not called if thd_prepare_connection() fails. cpu_time looks strange also...
|
| Comments |
| Comment by Patryk Pomykalski [ 2013-07-30 ] |
|
Also found valgrind warnings when running ./mtr main.connect - ==7422== Thread 5: |
| Comment by Elena Stepanova [ 2013-08-08 ] |
|
The valgrind warning is reproducible as described on the current 5.5 tree built with BUILD/compile-pentium-valgrind-max-no-ndb. If it turns out to be unrelated to the wrong values problem, I can try to create a test case for that one. |