• Alexander Barkov's avatar
    MDEV-26129 Bad results with join comparing case insensitive VARCHAR/ENUM/SET... · bf9bc991
    Alexander Barkov authored
    MDEV-26129 Bad results with join comparing case insensitive VARCHAR/ENUM/SET expression to a _bin ENUM column
    
    Range optimizer incorrectly was used for ENUM columns
    when the operation collation did not match the column collation.
    
    Adding a virtual implementation of Field_enum::can_optimize_range()
    which tests if the column and the operation collation match.
    bf9bc991
field.h 147 KB