• Kristofer Pettersson's avatar
    Bug#38883 thd_security_context is not thread safe, crashes? · e88487cc
    Kristofer Pettersson authored
                
    Innodb monitor could cause a server crash because of invalid access to a
    shared variable in a concurrent environment.
                      
    This patch adds a guard to protect against crashes but not against
    inconsistent values because of performance reasons.
    
    sql/sql_class.cc:
      * Attempt snapshot of static memory pointer proc_info to avoid null pointers.
    e88487cc
sql_class.cc 102 KB