Commit 76577e1e authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

typo fix

parent e2da680c
...@@ -1446,7 +1446,7 @@ bool Item_in_optimizer::eval_not_null_tables(uchar *opt_arg) ...@@ -1446,7 +1446,7 @@ bool Item_in_optimizer::eval_not_null_tables(uchar *opt_arg)
void Item_in_optimizer::print(String *str, enum_query_type query_type) void Item_in_optimizer::print(String *str, enum_query_type query_type)
{ {
restore_first_argumet(); restore_first_argument();
Item_func::print(str, query_type); Item_func::print(str, query_type);
} }
...@@ -1461,7 +1461,7 @@ void Item_in_optimizer::print(String *str, enum_query_type query_type) ...@@ -1461,7 +1461,7 @@ void Item_in_optimizer::print(String *str, enum_query_type query_type)
call. This call fix the pointer. call. This call fix the pointer.
*/ */
void Item_in_optimizer::restore_first_argumet() void Item_in_optimizer::restore_first_argument()
{ {
if (args[1]->type() == Item::SUBSELECT_ITEM && if (args[1]->type() == Item::SUBSELECT_ITEM &&
((Item_subselect *)args[1])->is_in_predicate()) ((Item_subselect *)args[1])->is_in_predicate())
......
...@@ -269,7 +269,7 @@ class Item_in_optimizer: public Item_bool_func ...@@ -269,7 +269,7 @@ class Item_in_optimizer: public Item_bool_func
bool eval_not_null_tables(uchar *opt_arg); bool eval_not_null_tables(uchar *opt_arg);
void fix_after_pullout(st_select_lex *new_parent, Item **ref); void fix_after_pullout(st_select_lex *new_parent, Item **ref);
virtual void print(String *str, enum_query_type query_type); virtual void print(String *str, enum_query_type query_type);
void restore_first_argumet(); void restore_first_argument();
}; };
class Comp_creator class Comp_creator
......
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