diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2017-02-09 18:19:03 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2017-02-09 18:23:59 +0100 |
commit | 314ff7029405ec128ca22e1b8a544620c4f8313b (patch) | |
tree | d92e4cb2f1e18ae04b364cea230c53fc65d9e516 | |
parent | b0148e222351ba06ff73feb30833d5d48dd4479e (diff) | |
download | mariadb-git-bb-10.2-MDEV-10554.tar.gz |
Unused code removed.bb-10.2-MDEV-10554
-rw-r--r-- | sql/sql_lex.cc | 2 | ||||
-rw-r--r-- | sql/sql_lex.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 71dad4279c2..4e29c31a774 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -2380,6 +2380,7 @@ void st_select_lex_unit::exclude_level() } +#if 0 /* Exclude subtree of current unit from tree of SELECTs @@ -2405,6 +2406,7 @@ void st_select_lex_unit::exclude_tree() if (next) next->prev= prev; } +#endif /* diff --git a/sql/sql_lex.h b/sql/sql_lex.h index c4a21bfb074..b61ef993d7f 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -697,7 +697,7 @@ public: } st_select_lex* return_after_parsing() { return return_to; } void exclude_level(); - void exclude_tree(); + // void exclude_tree(); // it is not used for long time bool is_excluded() { return prev == NULL; } /* UNION methods */ |