• Alexander Barkov's avatar
    MDEV-8722 The patch for MDEV-8688 disabled equal field propagation for... · 8ea9b8c0
    Alexander Barkov authored
    MDEV-8722 The patch for MDEV-8688 disabled equal field propagation for temporal column and BETWEEN and IN
    Item::cmp_context was inconsistently used in combination with cmp_type()
    and result_type() in different places of the code. Fixed to use cmp_type()
    in all places where cmp_context is involved, to avoid unexpected results
    for temporal data types (which have result_type()==STRING_RESULT and
    cmp_type==TIME_RESULT).
    8ea9b8c0
item.cc 268 KB