diff options
-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 */ |