mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Cleanup of derived table interface
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user