• marko's avatar
    branches/5.1: Merge r4003 from branches/5.0: · 7d5683b6
    marko authored
    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
    7d5683b6
rem0rec.ic 41.3 KB