summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <timour@askmonty.org>2011-02-03 17:00:28 +0200
committerunknown <timour@askmonty.org>2011-02-03 17:00:28 +0200
commit648e604615dfe852abbd467dbd8e6c3c9476dd07 (patch)
tree28d2f105add43131537c5109a1797a459c80ca8a /sql
parentfd6a079993cdc7cebbc533784455bf3c78f34b2a (diff)
downloadmariadb-git-648e604615dfe852abbd467dbd8e6c3c9476dd07.tar.gz
MWL#89
Adjusted test cases in accordance with the implementation.
Diffstat (limited to 'sql')
-rw-r--r--sql/opt_subselect.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/opt_subselect.cc b/sql/opt_subselect.cc
index ae0c1e4f0a5..147bf2631a6 100644
--- a/sql/opt_subselect.cc
+++ b/sql/opt_subselect.cc
@@ -3691,7 +3691,7 @@ bool JOIN::choose_subquery_plan(table_map join_tables)
double outer_lookup_keys;
/* Cost and row count of the unmodified subquery. */
double inner_read_time_1, inner_record_count_1;
- /* Cost and row count of the subquery with injected IN-EXISTS predicates. */
+ /* Cost of the subquery with injected IN-EXISTS predicates. */
double inner_read_time_2;
/* The cost to compute IN via materialization. */
double materialize_strategy_cost;
@@ -3756,7 +3756,7 @@ bool JOIN::choose_subquery_plan(table_map join_tables)
if (reopt_result == REOPT_ERROR)
return TRUE;
- /* inner_read_time_2 above is a dummy, get the correct total join cost. */
+ /* Get the cost of the modified IN-EXISTS plan. */
inner_read_time_2= inner_join->best_read;
}