Threadpool adds connection without notifying audit plugin
Bug #1282008 reported by
fengyi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
5.6 |
Fix Released
|
Medium
|
Sergei Glushchenko |
Bug Description
MYSQL_AUDIT_
Related branches
lp:~sergei.glushchenko/percona-server/5.5-ps-bug1282008
- Laurynas Biveinis (community): Approve
-
Diff: 32 lines (+7/-1)1 file modifiedsql/threadpool_common.cc (+7/-1)
lp:~sergei.glushchenko/percona-server/5.6-ps-bug1282008
- Laurynas Biveinis (community): Approve
-
Diff: 32 lines (+7/-1)1 file modifiedsql/threadpool_common.cc (+7/-1)
tags: | added: threadpool |
To post a comment you must log in.
This is what we have in 5.6:
openxs@ ao756:~ /bzr/percona- 5.6$ grep -rn "MYSQL_ AUDIT_NOTIFY_ CONNECTION_ CONNECT( thd)" * connect. cc:1452: MYSQL_AUDIT_ NOTIFY_ CONNECTION_ CONNECT( thd); audit.h: 182:#define MYSQL_AUDIT_ NOTIFY_ CONNECTION_ CONNECT( thd) mysql_audit_ notify( \ ao756:~ /bzr/percona- 5.6$ grep -rn login_connection * sql/threadpool_ common. cc:215: if (!login_ connection( thd)) connect. cc:1258: login_connection() connect. cc:1270: bool login_connectio n(THD *thd) connect. cc:1274: DBUG_ENTER( "login_ connection" ); connect. cc:1275: DBUG_PRINT("info", ("login_connection called by thread %lu", connect. cc:1451: rc= login_connectio n(thd); connect. h:46:bool login_connectio n(THD *thd);
sql/sql_
sql/sql_
openxs@
sql/sql_
sql/sql_
sql/sql_
sql/sql_
sql/sql_
sql/sql_
and 5.5:
openxs@ ao756:~ /bzr/percona- 5.6$ cd ../percona-5.5 ao756:~ /bzr/percona- 5.5$ grep -rn "MYSQL_ AUDIT_NOTIFY_ CONNECTION_ CONNECT( thd)" * connect. cc:1333: MYSQL_AUDIT_ NOTIFY_ CONNECTION_ CONNECT( thd); audit.h: 174:#define MYSQL_AUDIT_ NOTIFY_ CONNECTION_ CONNECT( thd) mysql_audit_ notify( \ ao756:~ /bzr/percona- 5.5$ grep -rn login_connection * sql/threadpool_ common. cc:150: if (!login_ connection( thd)) connect. cc:1143: login_connection() connect. cc:1155: bool login_connectio n(THD *thd) connect. cc:1159: DBUG_ENTER( "login_ connection" ); connect. cc:1160: DBUG_PRINT("info", ("login_connection called by thread %lu", connect. cc:1332: rc= login_connectio n(thd); connect. h:46:bool login_connectio n(THD *thd);
openxs@
sql/sql_
sql/sql_
openxs@
sql/sql_
sql/sql_
sql/sql_
sql/sql_
sql/sql_
sql/sql_