• Mattias Jonsson's avatar
    Bug#49907: ALTER TABLE ... TRUNCATE PARTITION does not wait for · 25ae81f1
    Mattias Jonsson authored
               locks on the table
    
    Fixing the partitioning specifics after TRUNCATE TABLE in
    bug-42643 was fixed.
    
    Reorganize of code to decrease the size of the giant switch
    in mysql_execute_command, and to prepare for future parser
    reengineering. Moved code into Sql_statement objects.
    
    Updated patch according to davi's review comments.
    25ae81f1
partition_truncate.test 809 Bytes