diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 53901985237..3b5bf0c9289 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -2560,17 +2560,6 @@ bool st_select_lex_node::inc_in_sum_expr() { return 1; } uint st_select_lex_node::get_in_sum_expr() { return 0; } TABLE_LIST* st_select_lex_node::get_table_list() { return 0; } List* st_select_lex_node::get_item_list() { return 0; } -TABLE_LIST *st_select_lex_node::add_table_to_list(THD *thd, Table_ident *table, - LEX_CSTRING *alias, - ulong table_join_options, - thr_lock_type flags, - enum_mdl_type mdl_type, - List *hints, - List *partition_names, - LEX_STRING *option) -{ - return 0; -} ulong st_select_lex_node::get_table_join_options() { return 0; diff --git a/sql/sql_lex.h b/sql/sql_lex.h index d2a6a3f43af..7e20bde140c 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -608,14 +608,6 @@ public: virtual TABLE_LIST* get_table_list(); virtual List* get_item_list(); virtual ulong get_table_join_options(); - virtual TABLE_LIST *add_table_to_list(THD *thd, Table_ident *table, - LEX_CSTRING *alias, - ulong table_options, - thr_lock_type flags= TL_UNLOCK, - enum_mdl_type mdl_type= MDL_SHARED_READ, - List *hints= 0, - List *partition_names= 0, - LEX_STRING *option= 0); virtual void set_lock_for_tables(thr_lock_type lock_type) {} void set_slave(st_select_lex_node *slave_arg) { slave= slave_arg; } void move_node(st_select_lex_node *where_to_move)