diff options
author | Eugene Kosov <claprix@yandex.ru> | 2018-05-29 19:06:15 +0300 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-03-22 22:33:27 +0400 |
commit | 53216091dd27f9bfc3cf4a47f0b883f878e7331d (patch) | |
tree | ceb438690948601ca68a697af602745b4cfa3e9f /sql | |
parent | a97ca9fe5b30304ea28c1886758abbfa7c9cf5c1 (diff) | |
download | mariadb-git-53216091dd27f9bfc3cf4a47f0b883f878e7331d.tar.gz |
remove dead code
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_lex.h | 5 | ||||
-rw-r--r-- | sql/vers_string.h | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 84d156a4843..72ca4ac0b43 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -729,11 +729,6 @@ public: friend bool mysql_new_select(LEX *lex, bool move_down, SELECT_LEX *sel); friend bool mysql_make_view(THD *thd, TABLE_SHARE *share, TABLE_LIST *table, bool open_view_no_parse); - friend bool mysql_derived_prepare(THD *thd, LEX *lex, - TABLE_LIST *orig_table_list); - friend bool mysql_derived_merge(THD *thd, LEX *lex, - TABLE_LIST *orig_table_list); - friend bool TABLE_LIST::init_derived(THD *thd, bool init_view); private: void fast_exclude(); }; diff --git a/sql/vers_string.h b/sql/vers_string.h index 75abd40d5fa..3709cdbf786 100644 --- a/sql/vers_string.h +++ b/sql/vers_string.h @@ -97,8 +97,4 @@ public: typedef Lex_cstring_with_compare<Compare_identifiers> Lex_ident; typedef Lex_cstring_with_compare<Compare_table_names> Lex_table_name; -#define XSTRING_WITH_LEN(X) (X).ptr(), (X).length() -#define DB_WITH_LEN(X) (X).db.str, (X).db.length -#define TABLE_NAME_WITH_LEN(X) (X).table_name.str, (X).table_name.length - #endif // VERS_STRING_INCLUDED |