• Timothy Smith's avatar
    Applying InnoDB snashot 5.1-ss4007, part 1. Fixes · d2e4204a
    Timothy Smith authored
    Bug #41571: MySQL segfaults after innodb recovery
    
    Detailed revision comments:
    
    r4004 | marko | 2009-01-20 16:19:00 +0200 (Tue, 20 Jan 2009) | 12 lines
    branches/5.1: Merge r4003 from branches/5.0:
    
    rec_set_nth_field(): When the field already is SQL null,
    do nothing when it is being changed to SQL null. (Bug #41571)
    
    Normally, MySQL does not pass "do-nothing" updates to the storage engine.
    When it does and a column of an InnoDB table that is in ROW_FORMAT=COMPACT
    is being updated from NULL to NULL, the InnoDB buffer pool will be corrupted
    without this fix.
    
    rb://81 approved by Heikki Tuuri
    d2e4204a
rem0rec.ic 41.3 KB