• Marko Mäkelä's avatar
    MDEV-18598: Wrong results after instant integer conversions · 790b6f5a
    Marko Mäkelä authored
    Field_str::is_equal(): Do not allow instant conversions between
    BIT (which is stored big-endian) and integer types (which can
    be stored big-endian or little-endian, depending on storage engine).
    
    row_sel_field_store_in_mysql_format_func(): Properly extend
    narrower integer and DATA_FIXBINARY values to the current format.
    DATA_FIXBINARY was incorrectly padded with 0x20 instead of 0.
    790b6f5a
field.cc 321 KB