• svoj@mysql.com/april.(none)'s avatar
    BUG#28971 - ALTER TABLE followed by UPDATE for a CSV table · 8f5b6ec2
    svoj@mysql.com/april.(none) authored
                make server crash
    
    UPDATE against CSV table may cause server crash or update a table with wrong
    values.
    
    CSV can write only a whole row at once. That means it must read all columns,
    that it is not going to update, and write them along with updated columns.
    But only limited set of columns was read, those that were needed for the
    UPDATE query.
    
    With this fix all columns are read in case we're performing an UPDATE.
    8f5b6ec2
csv.test 100 KB