• Sergey Petrunya's avatar
    LPBUG#523593: Running RQG optimizer_no_subquery crashes MariaDB · e2322dc8
    Sergey Petrunya authored
    - When analying multiple equalities, take into account that they 
      may not have a single table field that belongs to one of the tables
      that we're trying to eliminate (and they are not useful for table
      elimination in that case)
    
    mysql-test/r/table_elim.result:
      LPBUG#523593: Running RQG optimizer_no_subquery crashes MariaDB
      - Testcase
    mysql-test/t/table_elim.test:
      LPBUG#523593: Running RQG optimizer_no_subquery crashes MariaDB
      - Testcase
    e2322dc8
opt_table_elimination.cc 55.5 KB