mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Cleanup of derived table interface
This commit is contained in:
parent
3bc863b208
commit
6c306a729d
2 changed files with 1 additions and 2 deletions
|
@ -22,7 +22,6 @@ struct LEX;
|
|||
|
||||
bool mysql_handle_derived(LEX *lex, 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);
|
||||
|
||||
|
|
|
@ -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.
|
||||
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");
|
||||
DBUG_RETURN(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue