• svoj@mysql.com/june.mysql.com's avatar
    BUG#26238 - inserted delayed always inserts 0 for BIT columns · aae6e1ab
    svoj@mysql.com/june.mysql.com authored
    INSERT DELAYED inserts garbage for BIT columns.
    
    When delayed thread clones TABLE object, it didn't adjusted bit_ptr
    to newly created record (though it correctly adjusts ptr and null_ptr).
    
    This is fixed by correctly adjusting bit_ptr when performing a clone.
    With this fix BIT values are stored correctly by INSERT DELAYED.
    aae6e1ab
delayed.test 7.52 KB