diff options
Diffstat (limited to 'sql/opt_split.cc')
-rw-r--r-- | sql/opt_split.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_split.cc b/sql/opt_split.cc index faec0f6e4d0..51759910faa 100644 --- a/sql/opt_split.cc +++ b/sql/opt_split.cc @@ -672,7 +672,7 @@ double spl_postjoin_oper_cost(THD *thd, double join_record_count, uint rec_len) { double cost; TMPTABLE_COSTS tmp_cost= get_tmp_table_costs(thd, join_record_count, - rec_len, 0); + rec_len, 0, 1); // cost to fill tmp table cost= tmp_cost.create + tmp_cost.write * join_record_count; // cost to perform post join operation used here |