• 's avatar
    Bug#27606 GRANT statement should be replicated with DEFINER information · 180e74bd
    authored
    "Grantor" columns' data is lost when replicating mysql.tables_priv.
    Slave SQL thread used its default user ''@'' as the grantor of GRANT|REVOKE
    statements executing on it.
    
    In this patch, current user is put in query log event for all GRANT and REVOKE
    statement, SQL thread uses the user in query log event as grantor.
    180e74bd
rpl_do_grant.test 11.1 KB