• marko's avatar
    branches/5.1: Merge r4003 from branches/5.0: · 877b996f
    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
    877b996f
rem0rec.h 19.5 KB