Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
82d2dc90
Commit
82d2dc90
authored
May 02, 2020
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded this-> usage from sql_lex.cc
parent
36019df3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
sql/sql_lex.cc
sql/sql_lex.cc
+7
-7
No files found.
sql/sql_lex.cc
View file @
82d2dc90
...
@@ -3146,7 +3146,7 @@ st_select_lex_node *st_select_lex_node:: insert_chain_before(
...
@@ -3146,7 +3146,7 @@ st_select_lex_node *st_select_lex_node:: insert_chain_before(
{
{
end_chain_node
->
link_next
=
*
ptr_pos_to_insert
;
end_chain_node
->
link_next
=
*
ptr_pos_to_insert
;
(
*
ptr_pos_to_insert
)
->
link_prev
=
&
end_chain_node
->
link_next
;
(
*
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
;
return
this
;
}
}
...
@@ -3332,7 +3332,7 @@ bool st_select_lex::mark_as_dependent(THD *thd, st_select_lex *last,
...
@@ -3332,7 +3332,7 @@ bool st_select_lex::mark_as_dependent(THD *thd, st_select_lex *last,
return
TRUE
;
return
TRUE
;
}
while
((
s
=
s
->
outer_select
())
!=
last
&&
s
!=
0
);
}
while
((
s
=
s
->
outer_select
())
!=
last
&&
s
!=
0
);
is_correlated
=
TRUE
;
is_correlated
=
TRUE
;
this
->
master_unit
()
->
item
->
is_correlated
=
TRUE
;
master_unit
()
->
item
->
is_correlated
=
TRUE
;
return
FALSE
;
return
FALSE
;
}
}
...
@@ -4491,7 +4491,7 @@ void LEX::reset_n_backup_query_tables_list(Query_tables_list *backup)
...
@@ -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
We have to perform full initialization here since otherwise we
will damage backed up state.
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)
...
@@ -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
)
void
LEX
::
restore_backup_query_tables_list
(
Query_tables_list
*
backup
)
{
{
this
->
destroy_query_tables_list
();
destroy_query_tables_list
();
this
->
set_query_tables_list
(
backup
);
set_query_tables_list
(
backup
);
}
}
...
@@ -6295,7 +6295,7 @@ bool LEX::sp_variable_declarations_set_default(THD *thd, int nvars,
...
@@ -6295,7 +6295,7 @@ bool LEX::sp_variable_declarations_set_default(THD *thd, int nvars,
bool
last
=
i
+
1
==
(
uint
)
nvars
;
bool
last
=
i
+
1
==
(
uint
)
nvars
;
spvar
->
default_value
=
dflt_value_item
;
spvar
->
default_value
=
dflt_value_item
;
/* The last instruction is responsible for freeing LEX. */
/* The last instruction is responsible for freeing LEX. */
sp_instr_set
*
is
=
new
(
th
is
->
th
d
->
mem_root
)
sp_instr_set
*
is
=
new
(
thd
->
mem_root
)
sp_instr_set
(
sphead
->
instructions
(),
sp_instr_set
(
sphead
->
instructions
(),
spcont
,
&
sp_rcontext_handler_local
,
spcont
,
&
sp_rcontext_handler_local
,
spvar
->
offset
,
dflt_value_item
,
spvar
->
offset
,
dflt_value_item
,
...
@@ -6595,7 +6595,7 @@ sp_variable *LEX::sp_add_for_loop_variable(THD *thd, const LEX_CSTRING *name,
...
@@ -6595,7 +6595,7 @@ sp_variable *LEX::sp_add_for_loop_variable(THD *thd, const LEX_CSTRING *name,
return
NULL
;
return
NULL
;
spvar
->
default_value
=
value
;
spvar
->
default_value
=
value
;
sp_instr_set
*
is
=
new
(
th
is
->
th
d
->
mem_root
)
sp_instr_set
*
is
=
new
(
thd
->
mem_root
)
sp_instr_set
(
sphead
->
instructions
(),
sp_instr_set
(
sphead
->
instructions
(),
spcont
,
&
sp_rcontext_handler_local
,
spcont
,
&
sp_rcontext_handler_local
,
spvar
->
offset
,
value
,
spvar
->
offset
,
value
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment