• Varun Gupta's avatar
    MDEV-22509: Server crashes in Field_inet6::store_inet6_null_with_warn / Field::maybe_null · d5e8b4d7
    Varun Gupta authored
    For field with type INET, during EITS collection the min and max values are store in text
    representation in the statistical table.
    While retrieving the value from the statistical table, the value is stored back in the original
    field using binary form instead of text and this was resulting in the crash.
    
    Introduced 2 functions in the Field structure:
      1) store_to_statistical_minmax_field
      2) store_from_statistical_minmax_field
    d5e8b4d7
field.h 207 KB