Commit 4b020bfd authored by Sergei Petrunia's avatar Sergei Petrunia

Fix typos in optimizer trace output

parent 397f5cf7
...@@ -11404,7 +11404,7 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond) ...@@ -11404,7 +11404,7 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond)
trace_const_cond.add("condition_on_constant_tables", const_cond); trace_const_cond.add("condition_on_constant_tables", const_cond);
if (const_cond->is_expensive()) if (const_cond->is_expensive())
{ {
trace_const_cond.add("evalualted", "false") trace_const_cond.add("evaluated", "false")
.add("cause", "expensive cond"); .add("cause", "expensive cond");
} }
else else
...@@ -11417,7 +11417,7 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond) ...@@ -11417,7 +11417,7 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond)
if (!const_cond_result) if (!const_cond_result)
{ {
DBUG_PRINT("info",("Found impossible WHERE condition")); DBUG_PRINT("info",("Found impossible WHERE condition"));
trace_const_cond.add("evalualted", "true") trace_const_cond.add("evaluated", "true")
.add("found", "impossible where"); .add("found", "impossible where");
join->exec_const_cond= NULL; join->exec_const_cond= NULL;
DBUG_RETURN(1); DBUG_RETURN(1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment