1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Merge fix for BUG#784723

This commit is contained in:
Sergey Petrunya
2011-05-20 10:13:02 +04:00
6 changed files with 81 additions and 6 deletions

View File

@@ -1551,6 +1551,7 @@ void advance_sj_state(JOIN *join, table_map remaining_tables,
pos->prefix_record_count= *current_record_count;
pos->sj_strategy= SJ_OPT_NONE;
pos->prefix_dups_producing_tables= join->cur_dups_producing_tables;
/* Initialize the state or copy it from prev. tables */
if (idx == join->const_tables)
{
@@ -1983,7 +1984,6 @@ void advance_sj_state(JOIN *join, table_map remaining_tables,
}
}
}
pos->prefix_dups_producing_tables= join->cur_dups_producing_tables;
}