1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

BUG#752992: Wrong results for a subquery with 'semijoin=on'

- Let advance_sj_state() save the value of JOIN::cur_dups_producing_tables
  in POSITION::prefix_dups_producing_tables, and restore_sj_state() restore
  it.
This commit is contained in:
Sergey Petrunya
2011-04-08 02:12:03 +04:00
parent 2a498b393a
commit acc161d363
10 changed files with 118 additions and 8 deletions

View File

@ -573,6 +573,8 @@ typedef struct st_position
semi-join's ON expression so we can correctly account for fanout.
*/
table_map sjm_scan_need_tables;
table_map prefix_dups_producing_tables;
} POSITION;