New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug 1435099: Audit Log events do not report default DB #649
Conversation
connection default; | ||
|
||
--exec $MYSQL --user=user1 --password=111 test -e "use db1; SELECT * FROM t;" | ||
# is there better way to check that server reset connection initiated by mysql cli? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrapping exec with include/count_connections and include/wait_until_connection_count should do this
No testcase for the install plugin with an open parallel connection? |
a92aa36
to
807084d
Compare
jenkins build: http://jenkins.percona.com/view/PS%205.6/job/percona-server-5.6-param/1231/ |
GRANT ALL PRIVILEGES ON ąžąžąžą.* TO 'user2'@'%'; | ||
|
||
# truncate audit log | ||
UNINSTALL PLUGIN audit_log; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This gives "plugin is busy and will be uninstalled on shutdown"
Something else about encodings, in e.g. XML the header is . If the server encoding is different, are the strings transcoded before logging? |
See my comment above:
|
Ah, OK, it's the same thing we are talking about :) Have you logged the bug? |
Blueprint https://blueprints.launchpad.net/percona-server/+spec/audit-log-default-db Add field `DB' for `MYSQL_AUDIT_GENERAL_STATUS' records.
807084d
to
9f9e2c2
Compare
|
LGTM |
Summary: Changes: * reset m_detailed_error to empty string * added tests to verify snapshot conflicts message disappears on consecutive deadlocks Closes facebook/mysql-5.6#649 Differential Revision: D5383202 fbshipit-source-id: aff56938297
Summary: Changes: * reset m_detailed_error to empty string * added tests to verify snapshot conflicts message disappears on consecutive deadlocks Closes facebook/mysql-5.6#649 Differential Revision: D5383202 fbshipit-source-id: aff56938297
…#649) Summary: Changes: * reset m_detailed_error to empty string * added tests to verify snapshot conflicts message disappears on consecutive deadlocks Closes facebook/mysql-5.6#649 Differential Revision: D5383202 (facebook/mysql-5.6@1328f8f) fbshipit-source-id: a4868703e93
…#649) Summary: Changes: * reset m_detailed_error to empty string * added tests to verify snapshot conflicts message disappears on consecutive deadlocks Closes facebook/mysql-5.6#649 Differential Revision: D5383202
…#649) Summary: Changes: * reset m_detailed_error to empty string * added tests to verify snapshot conflicts message disappears on consecutive deadlocks Closes facebook/mysql-5.6#649 Differential Revision: D5383202
Blueprint
https://blueprints.launchpad.net/percona-server/+spec/audit-log-default-db
Add field
DB
forMYSQL_AUDIT_GENERAL_STATUS
records.