• Sergey Petrunya's avatar
    BUG#724228: Wrong result with materialization=on and three aggregates in maria-5.3-mwl90 · b8f00542
    Sergey Petrunya authored
    - In join buffering code, call join_tab_execution_startup() (#1) before we call join_tab_scan->open() (#2).
      This is important with SJ-Materialization because #1 fills the materialized table, while
      #2 will actually try to read the first row. Attempt to read the first row before we have
      populated the materialized table would cause zero rows to be returned when actually there were matches.
    b8f00542
sql_join_cache.cc 136 KB