Skip to content
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

audit_record_cmds Type #10

Closed
schochang opened this issue Aug 28, 2012 · 2 comments
Closed

audit_record_cmds Type #10

schochang opened this issue Aug 28, 2012 · 2 comments

Comments

@schochang
Copy link

Dear All
Are there have any documents to indicate what other command can be audit beside update, delete , insert. I know I can find out a lot in the audit files, but I like to have a formal documents instead of look from a huge audit file.

Thanks
Paul

@glicht
Copy link
Contributor

glicht commented Aug 30, 2012

Hi Paul,

We are getting the command names from MySQL. In general the best place to get the full list of commands is from the MySQL source code as it is may be different between versions.

We get the commands from the array command_name defined at: sql_parse.cc. If the command is a Query then we get the exact sql command from the array com_status_vars defined at: mysqld.cc.

Hope this clarifies things for you.

Guy

@schochang
Copy link
Author

Hi Guy,
This is exactly source I am looking for, Thank you for your help. I had been looking for it a long time.

Thank again.
Paul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants