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
6c306a72
Commit
6c306a72
authored
Apr 02, 2019
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup of derived table interface
parent
3bc863b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
sql/sql_derived.h
sql/sql_derived.h
+0
-1
sql/sql_view.cc
sql/sql_view.cc
+1
-1
No files found.
sql/sql_derived.h
View file @
6c306a72
...
@@ -22,7 +22,6 @@ struct LEX;
...
@@ -22,7 +22,6 @@ struct LEX;
bool
mysql_handle_derived
(
LEX
*
lex
,
uint
phases
);
bool
mysql_handle_derived
(
LEX
*
lex
,
uint
phases
);
bool
mysql_handle_single_derived
(
LEX
*
lex
,
TABLE_LIST
*
derived
,
uint
phases
);
bool
mysql_handle_single_derived
(
LEX
*
lex
,
TABLE_LIST
*
derived
,
uint
phases
);
bool
mysql_derived_reinit
(
THD
*
thd
,
LEX
*
lex
,
TABLE_LIST
*
derived
);
bool
pushdown_cond_for_derived
(
THD
*
thd
,
Item
*
cond
,
TABLE_LIST
*
derived
);
bool
pushdown_cond_for_derived
(
THD
*
thd
,
Item
*
cond
,
TABLE_LIST
*
derived
);
...
...
sql/sql_view.cc
View file @
6c306a72
...
@@ -1200,7 +1200,7 @@ bool mysql_make_view(THD *thd, TABLE_SHARE *share, TABLE_LIST *table,
...
@@ -1200,7 +1200,7 @@ bool mysql_make_view(THD *thd, TABLE_SHARE *share, TABLE_LIST *table,
in which case the reinit call wasn't done.
in which case the reinit call wasn't done.
See MDEV-6668 for details.
See MDEV-6668 for details.
*/
*/
mysql_
derived_reinit
(
thd
,
NULL
,
table
);
mysql_
handle_single_derived
(
thd
->
lex
,
table
,
DT_REINIT
);
DEBUG_SYNC
(
thd
,
"after_cached_view_opened"
);
DEBUG_SYNC
(
thd
,
"after_cached_view_opened"
);
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
...
...
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