• hezx@mail.hezx.com's avatar
    BUG#33862 completely failed DROP USER statement gets replicated · 750c4022
    hezx@mail.hezx.com authored
    The problem is when create/rename/drop users, the statement was logged regardless of error, even if no data has been changed, the statement was logged.
    
    After this patch, create/rename/drop users don't write the binlog if the statement makes no changes, if the statement does make any changes, log the statement with possible error code.
    
    This patch is based on the patch for BUG#29749, which is not pushed
    750c4022
sql_acl.cc 180 KB