Skip to content
  • Marek Szymczak's avatar
    64b57430
    Bug#21457956 AUDIT 'MYSQL_AUDIT_PARSE_PREPARSE' EVENT CANNOT BE ABORTED · 64b57430
    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>
    64b57430
    Bug#21457956 AUDIT 'MYSQL_AUDIT_PARSE_PREPARSE' EVENT CANNOT BE ABORTED
    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>
Loading