1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix typos in optimizer trace output

This commit is contained in:
Sergei Petrunia
2021-12-23 12:03:09 +03:00
parent 397f5cf71e
commit 4b020bfd9a

View File

@ -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)
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);