• Sergey Petrunya's avatar
    BUG#723822: Crash in get_constant_key_infix with EXISTS ( SELECT .. DISTINCT ) · 9e88ddc2
    Sergey Petrunya authored
    - Make get_constant_key_infix() take into account that there may be SEL_TREEs with
      type=SEL_ARG::MAYBE_KEY, which it cannot process, because they are not real ranges
      but rather indications that we might have been able to construct a range if we had
      values for some other tables' fields. 
      (check_quick_select() already has such check)
    9e88ddc2
subselect4.test 17.4 KB