diff options
author | prabakaran thirumalai <prabakaran.thirumalai@oracle.com> | 2012-12-21 11:04:49 +0530 |
---|---|---|
committer | prabakaran thirumalai <prabakaran.thirumalai@oracle.com> | 2012-12-21 11:04:49 +0530 |
commit | 0d5d4e5de02411d8cca117b79e56dc32779bc909 (patch) | |
tree | 0287f2a48a800cf0347785daf4b81e4bc1d37393 /sql/events.h | |
parent | 17c715881060ae67d537f987a45763840e63827a (diff) | |
download | mariadb-git-0d5d4e5de02411d8cca117b79e56dc32779bc909.tar.gz |
Bug#14627287 THREAD CACHE - BYPASSES PRIVILEGES
Analysis:
When thread cache is enabled, it does not properly initialize
thd->start_utime when a thread is picked from the thread cache.
This breaks the quota management mechanism.
THD::time_out_user_resource_limits() resets
m_user_connect->conn_per_hour to 0 based on thd->start_utime
Fix:
Initialize start_utime when cached thread is reused.
Notes:
Enabled back tests which were disabled because of this issue.
Diffstat (limited to 'sql/events.h')
0 files changed, 0 insertions, 0 deletions