• Varun Gupta's avatar
    MDEV-21265: IN predicate conversion to IN subquery should be allowed for a... · b4379df5
    Varun Gupta authored
    MDEV-21265: IN predicate conversion to IN subquery should be allowed for a broader set of datatype comparison
    
    Allow materialization strategy when collations on the
    inner and outer sides of an IN subquery are the same and the
    character set of the inner side is a proper subset of the character
    set on the outer side.
    This allows conversion from utf8mb3 to utf8mb4
    as the former is a subset of the later.
    This is only allowed when IN predicate is converted to an IN subquery
    
    Backported part of the patch (d6a00d9b) of MDEV-17905.
    b4379df5
subselect4.test 68.7 KB