diff options
Diffstat (limited to 'sql/opt_split.cc')
-rw-r--r-- | sql/opt_split.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/opt_split.cc b/sql/opt_split.cc index bb3aec9ee8d..43363f622b2 100644 --- a/sql/opt_split.cc +++ b/sql/opt_split.cc @@ -1038,6 +1038,7 @@ SplM_plan_info * JOIN_TAB::choose_best_splitting(uint idx, table_map excluded_tables= remaining_tables | this->join->sjm_lookup_tables; if (best_table) { + best_param_tables &= ~PSEUDO_TABLE_BITS; *spl_pd_boundary= this->table->map; if (!best_param_tables) refills= 1; |