diff options
-rw-r--r-- | sql/item_cmpfunc.cc | 4 | ||||
-rw-r--r-- | sql/item_cmpfunc.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc index a77443f40ef..39f497e3828 100644 --- a/sql/item_cmpfunc.cc +++ b/sql/item_cmpfunc.cc @@ -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) { - restore_first_argumet(); + restore_first_argument(); Item_func::print(str, query_type); } @@ -1461,7 +1461,7 @@ void Item_in_optimizer::print(String *str, enum_query_type query_type) 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 && ((Item_subselect *)args[1])->is_in_predicate()) diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index c0e97be20c4..a045a08e4fd 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -269,7 +269,7 @@ public: bool eval_not_null_tables(uchar *opt_arg); void fix_after_pullout(st_select_lex *new_parent, Item **ref); virtual void print(String *str, enum_query_type query_type); - void restore_first_argumet(); + void restore_first_argument(); }; class Comp_creator |