• Georgi Kodinov's avatar
    Bug #38693: leaked memory with blobs! · b204dc43
    Georgi Kodinov authored
    If delayed insert fails to upgrade the lock it was not
    freeing the temporary memory storage used to keep
    newly constructed blob values in memory.
    Fixed by iterating over the remaining rows in the delayed
    insert rowset and freeing the blob storage for each row.
    
    No test suite because it involves concurrent delayed inserts 
    on a table and cannot easily be made deterministic. 
    
    Added a correct valgrind suppression for Fedora 9.
    b204dc43
sql_insert.cc 108 KB