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
68bf3c50
Commit
68bf3c50
authored
Jun 26, 2014
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
18d5a748
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
19 deletions
+0
-19
sql/sql_select.cc
sql/sql_select.cc
+0
-11
sql/sql_select.h
sql/sql_select.h
+0
-8
No files found.
sql/sql_select.cc
View file @
68bf3c50
...
@@ -2387,17 +2387,6 @@ void JOIN::exec()
...
@@ -2387,17 +2387,6 @@ void JOIN::exec()
);
);
exec_inner
();
exec_inner
();
if
(
!
exec_saved_explain
)
{
#if 0
save_explain_data(thd->lex->explain, true /* can overwrite */,
need_tmp,
order != 0 && !skip_sort_order,
select_distinct);
#endif
exec_saved_explain
=
true
;
}
DBUG_EXECUTE_IF
(
"show_explain_probe_join_exec_end"
,
DBUG_EXECUTE_IF
(
"show_explain_probe_join_exec_end"
,
if
(
dbug_user_var_equals_int
(
thd
,
if
(
dbug_user_var_equals_int
(
thd
,
"show_explain_probe_select_id"
,
"show_explain_probe_select_id"
,
...
...
sql/sql_select.h
View file @
68bf3c50
...
@@ -1349,7 +1349,6 @@ class JOIN :public Sql_alloc
...
@@ -1349,7 +1349,6 @@ class JOIN :public Sql_alloc
sjm_lookup_tables
=
0
;
sjm_lookup_tables
=
0
;
filesort_found_rows
=
false
;
filesort_found_rows
=
false
;
exec_saved_explain
=
false
;
/*
/*
The following is needed because JOIN::cleanup(true) may be called for
The following is needed because JOIN::cleanup(true) may be called for
joins for which JOIN::optimize was aborted with an error before a proper
joins for which JOIN::optimize was aborted with an error before a proper
...
@@ -1358,13 +1357,6 @@ class JOIN :public Sql_alloc
...
@@ -1358,13 +1357,6 @@ class JOIN :public Sql_alloc
table_access_tabs
=
NULL
;
table_access_tabs
=
NULL
;
}
}
/*
TRUE <=> There was a JOIN::exec() call, which saved this JOIN's EXPLAIN.
The idea is that we also save at the end of JOIN::optimize(), but that
might not be the final plan.
*/
bool
exec_saved_explain
;
int
prepare
(
Item
***
rref_pointer_array
,
TABLE_LIST
*
tables
,
uint
wind_num
,
int
prepare
(
Item
***
rref_pointer_array
,
TABLE_LIST
*
tables
,
uint
wind_num
,
COND
*
conds
,
uint
og_num
,
ORDER
*
order
,
bool
skip_order_by
,
COND
*
conds
,
uint
og_num
,
ORDER
*
order
,
bool
skip_order_by
,
ORDER
*
group
,
Item
*
having
,
ORDER
*
proc_param
,
SELECT_LEX
*
select
,
ORDER
*
group
,
Item
*
having
,
ORDER
*
proc_param
,
SELECT_LEX
*
select
,
...
...
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