diff options
author | Monty <monty@mariadb.org> | 2020-05-02 13:20:24 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-05-23 12:29:10 +0300 |
commit | 82d2dc9027b14e7440c40291ef386bdf1fd79d8b (patch) | |
tree | dc8311cbf25a3fce186a5de1c942b7e1a59d30dd | |
parent | 36019df323e4319e157c21fc5f04c5a8cd59fb4b (diff) | |
download | mariadb-git-82d2dc9027b14e7440c40291ef386bdf1fd79d8b.tar.gz |
Remove unneeded this-> usage from sql_lex.cc
-rw-r--r-- | sql/sql_lex.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 12c3d0a153d..477401c793f 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -3146,7 +3146,7 @@ st_select_lex_node *st_select_lex_node:: insert_chain_before( { end_chain_node->link_next= *ptr_pos_to_insert; (*ptr_pos_to_insert)->link_prev= &end_chain_node->link_next; - this->link_prev= ptr_pos_to_insert; + link_prev= ptr_pos_to_insert; return this; } @@ -3332,7 +3332,7 @@ bool st_select_lex::mark_as_dependent(THD *thd, st_select_lex *last, return TRUE; } while ((s= s->outer_select()) != last && s != 0); is_correlated= TRUE; - this->master_unit()->item->is_correlated= TRUE; + master_unit()->item->is_correlated= TRUE; return FALSE; } @@ -4491,7 +4491,7 @@ void LEX::reset_n_backup_query_tables_list(Query_tables_list *backup) We have to perform full initialization here since otherwise we will damage backed up state. */ - this->reset_query_tables_list(TRUE); + reset_query_tables_list(TRUE); } @@ -4505,8 +4505,8 @@ void LEX::reset_n_backup_query_tables_list(Query_tables_list *backup) void LEX::restore_backup_query_tables_list(Query_tables_list *backup) { - this->destroy_query_tables_list(); - this->set_query_tables_list(backup); + destroy_query_tables_list(); + set_query_tables_list(backup); } @@ -6295,7 +6295,7 @@ bool LEX::sp_variable_declarations_set_default(THD *thd, int nvars, bool last= i + 1 == (uint) nvars; spvar->default_value= dflt_value_item; /* The last instruction is responsible for freeing LEX. */ - sp_instr_set *is= new (this->thd->mem_root) + sp_instr_set *is= new (thd->mem_root) sp_instr_set(sphead->instructions(), spcont, &sp_rcontext_handler_local, spvar->offset, dflt_value_item, @@ -6595,7 +6595,7 @@ sp_variable *LEX::sp_add_for_loop_variable(THD *thd, const LEX_CSTRING *name, return NULL; spvar->default_value= value; - sp_instr_set *is= new (this->thd->mem_root) + sp_instr_set *is= new (thd->mem_root) sp_instr_set(sphead->instructions(), spcont, &sp_rcontext_handler_local, spvar->offset, value, |