• unknown's avatar
    Bug#16372: Server crashes when test 'conc_sys' is running · c14969b8
    unknown authored
    Concurrent read and update of privilege structures (like simultaneous
    run of SHOW GRANTS and ADD USER) could result in server crash.
    
    Ensure that proper locking of ACL structures is done.
    
    No test case is provided because this bug can't be reproduced
    deterministically.
    
    
    sql/sql_acl.cc:
      Ensure that access to ACL data is protected by acl_cache->lock mutex.
      Use system_charset_info for host names consistently.
    c14969b8
sql_acl.cc 113 KB