• Galina Shalygina's avatar
    MDEV-16721: Assertion `ctx.compare_type_handler()->cmp_type() != STRING_RESULT' · 2a3d3e05
    Galina Shalygina authored
    failed
    
    The bug appeared as in MDEV-12387 setup_jtbm_semi_joins() procedure had been
    devided into two functions, one called before optimization of WHERE clause
    and another after this optimization. When the second function was called for
    a degenerated jtbm semi join equalities connecting the subselect and
    the parent select were created but invocation of fix_fields() for these
    equalities was missing.
    2a3d3e05
opt_subselect.cc 224 KB