• vasil's avatar
    branches/5.1: · 063bc007
    vasil authored
    Fix Bug#34300 Tinyblob & tinytext fields currupted after export/import and alter in 5.1
    
    Copy the BLOB fields, that are stored internally, to a safe place
    (prebuilt->blob_heap) when converting a row from InnoDB format to
    MySQL format in row_sel_store_mysql_rec().
    
    The bug was introduced in:
    
     ------------------------------------------------------------------------
     r587 | osku | 2006-05-23 15:35:58 +0300 (Tue, 23 May 2006) | 3 lines
     
     Optimize BLOB selects by using prebuilt->blob_heap directly instead of first
     reading BLOB data to a temporary heap and then copying it to
     prebuilt->blob_heap.
     ------------------------------------------------------------------------
    
    Approved by:	Heikki
    063bc007
row0sel.c 122 KB