• Davi Arnaut's avatar
    Bug#41726: upgrade from 5.0 to 5.1.30 crashes if you didn't run mysql_upgrade · 3fe5cd80
    Davi Arnaut authored
    The problem is that the server could crash when attempting
    to access a non-conformant proc system table. One such case
    was a crash when invoking stored procedure related statements
    on a 5.1 server with a proc system table in the 5.0 format.
    
    The solution is to validate the proc system table format
    before attempts to access it are made. If the table is not
    in the format that the server expects, a message is written
    to the error log and the statement that caused the table to
    be accessed fails.
    3fe5cd80
table.h 59.3 KB