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
8701e5b0
Commit
8701e5b0
authored
Apr 16, 2019
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup of sql_derived.cc file
parent
eb056f87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
sql/sql_derived.cc
sql/sql_derived.cc
+17
-11
No files found.
sql/sql_derived.cc
View file @
8701e5b0
...
...
@@ -38,14 +38,15 @@
typedef
bool
(
*
dt_processor
)(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
bool
mysql_derived_init
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
bool
mysql_derived_prepare
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
bool
mysql_derived_optimize
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
bool
mysql_derived_merge
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
bool
mysql_derived_create
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
bool
mysql_derived_fill
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
bool
mysql_derived_reinit
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
bool
mysql_derived_merge_for_insert
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
static
bool
mysql_derived_init
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
static
bool
mysql_derived_prepare
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
static
bool
mysql_derived_optimize
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
static
bool
mysql_derived_merge
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
static
bool
mysql_derived_create
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
static
bool
mysql_derived_fill
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
static
bool
mysql_derived_reinit
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
static
bool
mysql_derived_merge_for_insert
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
dt_processor
processors
[]
=
{
...
...
@@ -331,6 +332,7 @@ mysql_handle_single_derived(LEX *lex, TABLE_LIST *derived, uint phases)
@return TRUE if an error occur.
*/
static
bool
mysql_derived_merge
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
)
{
bool
res
=
FALSE
;
...
...
@@ -513,6 +515,7 @@ bool mysql_derived_merge(THD *thd, LEX *lex, TABLE_LIST *derived)
@return TRUE if an error occur.
*/
static
bool
mysql_derived_merge_for_insert
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
)
{
DBUG_ENTER
(
"mysql_derived_merge_for_insert"
);
...
...
@@ -569,7 +572,7 @@ bool mysql_derived_merge_for_insert(THD *thd, LEX *lex, TABLE_LIST *derived)
true Error
*/
static
bool
mysql_derived_init
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
)
{
SELECT_LEX_UNIT
*
unit
=
derived
->
get_unit
();
...
...
@@ -646,7 +649,7 @@ bool mysql_derived_init(THD *thd, LEX *lex, TABLE_LIST *derived)
true Error
*/
static
bool
mysql_derived_prepare
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
)
{
SELECT_LEX_UNIT
*
unit
=
derived
->
get_unit
();
...
...
@@ -917,6 +920,7 @@ bool mysql_derived_prepare(THD *thd, LEX *lex, TABLE_LIST *derived)
@return TRUE if an error occur.
*/
static
bool
mysql_derived_optimize
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
)
{
SELECT_LEX_UNIT
*
unit
=
derived
->
get_unit
();
...
...
@@ -1028,6 +1032,7 @@ bool mysql_derived_optimize(THD *thd, LEX *lex, TABLE_LIST *derived)
@return TRUE if an error occur.
*/
static
bool
mysql_derived_create
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
)
{
DBUG_ENTER
(
"mysql_derived_create"
);
...
...
@@ -1138,7 +1143,7 @@ bool TABLE_LIST::fill_recursive(THD *thd)
@return TRUE Error
*/
static
bool
mysql_derived_fill
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
)
{
Field_iterator_table
field_iterator
;
...
...
@@ -1280,6 +1285,7 @@ bool mysql_derived_fill(THD *thd, LEX *lex, TABLE_LIST *derived)
@return TRUE Error
*/
static
bool
mysql_derived_reinit
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
)
{
DBUG_ENTER
(
"mysql_derived_reinit"
);
...
...
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