• Sergey Petrunya's avatar
    MDEV-4840: Wrong result (missing rows) on LEFT JOIN with InnoDB tables · 37e9714c
    Sergey Petrunya authored
    Fix two problems in table elimination code:
    - Before marking a "value" as bound, check if it is already bound. Marking the 
      same value as bound twice could confuse a module that depends on this value, 
      because Dep_module_XXX use counters to know when they become bound.
    
    - When checking whether field is part of a key, ignore "extended keys" property.
    37e9714c
table_elim.test 16.8 KB