• MySQL Build Team's avatar
    Backport into build-201102032246-5.1.52sp1 · 8bde9ad2
    MySQL Build Team authored
    > ------------------------------------------------------------
    > revno: 3507.1.26
    > revision-id: mattias.jonsson@oracle.com-20101201112046-2ugtweya0dltcrys
    > parent: nirbhay.choubey@sun.com-20101201065531-w2f0j3g5yzok8z9x
    > committer: Mattias Jonsson <mattias.jonsson@oracle.com>
    > branch nick: b56380-51-bt
    > timestamp: Wed 2010-12-01 12:20:46 +0100
    > message:
    >   Bug#56380: valgrind memory leak warning from partition tests
    >   
    >   There could be memory leaks if ALTER ... PARTITION command fails.
    >   
    >   Problem was that the list of items to free was not set in
    >   the partition info structure when fix_partition_func call failed
    >   during ALTER ... PARTITION.
    >   
    >   Solved by always setting the list in the partition info struct.
    8bde9ad2
table.cc 143 KB