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
dafe41ed
Commit
dafe41ed
authored
May 20, 2019
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing of dead code.
parent
1d00f819
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
34 deletions
+0
-34
sql/sql_lex.cc
sql/sql_lex.cc
+0
-32
sql/sql_lex.h
sql/sql_lex.h
+0
-2
No files found.
sql/sql_lex.cc
View file @
dafe41ed
...
...
@@ -8812,38 +8812,6 @@ bool LEX::last_field_generated_always_as_row_end()
}
bool
LEX
::
tvc_finalize
()
{
mysql_init_select
(
this
);
if
(
unlikely
(
!
(
current_select
->
tvc
=
new
(
thd
->
mem_root
)
table_value_constr
(
many_values
,
current_select
,
current_select
->
options
))))
return
true
;
many_values
.
empty
();
if
(
!
current_select
->
master_unit
()
->
fake_select_lex
)
current_select
->
master_unit
()
->
add_fake_select_lex
(
thd
);
return
false
;
}
bool
LEX
::
tvc_finalize_derived
()
{
derived_tables
|=
DERIVED_SUBQUERY
;
if
(
unlikely
(
!
expr_allows_subselect
))
{
thd
->
parse_error
();
return
true
;
}
if
(
current_select
->
get_linkage
()
==
GLOBAL_OPTIONS_TYPE
||
unlikely
(
mysql_new_select
(
this
,
1
,
NULL
)))
return
true
;
current_select
->
set_linkage
(
DERIVED_TABLE_TYPE
);
return
tvc_finalize
();
}
void
st_select_lex_unit
::
reset_distinct
()
{
union_distinct
=
NULL
;
...
...
sql/sql_lex.h
View file @
dafe41ed
...
...
@@ -4396,8 +4396,6 @@ struct LEX: public Query_tables_list
many_values
.
empty
();
insert_list
=
0
;
}
bool
tvc_finalize
();
bool
tvc_finalize_derived
();
bool
make_select_in_brackets
(
SELECT_LEX
*
dummy_select
,
SELECT_LEX
*
nselect
,
bool
automatic
);
...
...
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