diff options
author | Georgi Kodinov <joro@sun.com> | 2009-08-21 17:10:55 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-08-21 17:10:55 +0300 |
commit | 66ce3dee92858acb6f67f8d1751144f7a468a545 (patch) | |
tree | d9cb6f1114d4934bbc3a7c8adc313f974b717039 /sql/table.h | |
parent | 0665536995fa1afe4ac71e13451dd8258063ff36 (diff) | |
download | mariadb-git-66ce3dee92858acb6f67f8d1751144f7a468a545.tar.gz |
Revert of the fix for bug #46019.
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sql/table.h b/sql/table.h index ce9364fad4d..db996d45320 100644 --- a/sql/table.h +++ b/sql/table.h @@ -771,29 +771,6 @@ struct TABLE_LIST void reinit_before_use(THD *thd); Item_subselect *containing_subselect(); - /** - @brief True if this TABLE_LIST represents an not yet materialized - derived table, i.e. the result of a subquery or view execution. - */ - bool is_non_materialized_derived_table() const - { - return derived && !derived_result; - } - - /** - @brief Returns the name of the database that the referenced table belongs - to. - */ - char *get_db_name() { return view != NULL ? view_db.str : db; } - - /** - @brief Returns the name of the table that this TABLE_LIST represents. - - @details The unqualified table name or view name for a table or view, - respectively. - */ - char *get_table_name() { return view != NULL ? view_name.str : table_name; } - private: bool prep_check_option(THD *thd, uint8 check_opt_type); bool prep_where(THD *thd, Item **conds, bool no_where_clause); |