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 | 98aaf18bc7ff64cbb616b4ce94998218704112b6 (patch) | |
tree | 0287f2a48a800cf0347785daf4b81e4bc1d37393 /client | |
parent | 0dd066cb6f462cd4d76184e4176aefbf7d874440 (diff) | |
download | mariadb-git-98aaf18bc7ff64cbb616b4ce94998218704112b6.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 'client')
0 files changed, 0 insertions, 0 deletions