This commit is contained in:
Oleksandr Byelkin 2018-01-24 10:58:27 +01:00
parent e2da680c51
commit 76577e1e26
2 changed files with 3 additions and 3 deletions

View File

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

View File

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