• Alexander Nozdrin's avatar
    A patch for Bug#12429877: QUERY_TABLES_LIST::SROUTINES IS NOT · da96e915
    Alexander Nozdrin authored
    FREED IN FLUSH_READ_LOCK (VALGRIND WARNING).
    
    The problem was that under some circustances the memory allocated
    for Query_tables_list::sroutines was not freed properly.
    The cause of this problem was the absence of
    LEX::restore_backup_query_tables_list() call in one of the branches
    in mysql_table_grant() function.
    da96e915
sql_acl.cc 288 KB