• MySQL Build Team's avatar
    Backport into build-201102032246-5.1.52sp1 · 3f3947a4
    MySQL Build Team authored
    > ------------------------------------------------------------
    > revno: 3452.17.1
    > revision-id: mattias.jonsson@oracle.com-20101005125751-ds92svhhb13ds8ri
    > parent: sergey.glukhov@sun.com-20101004085126-ia6veky4w6j87i43
    > committer: Mattias Jonsson <mattias.jonsson@oracle.com>
    > branch nick: b55091-51-security
    > timestamp: Tue 2010-10-05 14:57:51 +0200
    > message:
    >   Bug#55091: Server crashes on ADD PARTITION after a failed attempt
    >   
    >   In case of failure in ALTER ... PARTITION under LOCK TABLE
    >   the server could crash, due to it had modified the locked
    >   table object, which was not reverted in case of failure,
    >   resulting in a bad table definition used after the failed
    >   command.
    >   
    >   Solved by always closing the LOCKED TABLE, even in case
    >   of error.
    >   
    >   Note: this is a 5.1-only fix, bug#56172 fixed it in 5.5+
    3f3947a4
partition_innodb_plugin.test 4.33 KB