-
Marek Szymczak authored
Problem: ======== MYSQL_AUDIT_PARSE_PREPARSE event could not be aborted by calling the my_message function, or by returning a non zero value from within an audit plugin. This was caused by different diagnostic area, used during generation of the MYSQL_AUDIT_PARSE_PREPARSE event, comaparing to the diagnostic area, used when evaluating the query execution. Fix: ==== The fix copies the error state of the audit plugin's diagnostic area to the diagnostic area of the executing statement. Reviewed-by: ============ Georgi Kodinov <georgi.kodinov@oracle.com> Kristofer Pettersson <kristofer.pettersson@oracle.com>
Marek Szymczak authoredProblem: ======== MYSQL_AUDIT_PARSE_PREPARSE event could not be aborted by calling the my_message function, or by returning a non zero value from within an audit plugin. This was caused by different diagnostic area, used during generation of the MYSQL_AUDIT_PARSE_PREPARSE event, comaparing to the diagnostic area, used when evaluating the query execution. Fix: ==== The fix copies the error state of the audit plugin's diagnostic area to the diagnostic area of the executing statement. Reviewed-by: ============ Georgi Kodinov <georgi.kodinov@oracle.com> Kristofer Pettersson <kristofer.pettersson@oracle.com>
Loading