Skip to content

Commit

Permalink
Unused code removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
sanja-byelkin committed Feb 10, 2017
1 parent ae3072c commit 25f6d1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sql/sql_lex.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2380,6 +2380,7 @@ void st_select_lex_unit::exclude_level()
}


#if 0
/*
Exclude subtree of current unit from tree of SELECTs

Expand All @@ -2405,6 +2406,7 @@ void st_select_lex_unit::exclude_tree()
if (next)
next->prev= prev;
}
#endif


/*
Expand Down
2 changes: 1 addition & 1 deletion sql/sql_lex.h
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ class st_select_lex_unit: public st_select_lex_node {
}
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 */
Expand Down

0 comments on commit 25f6d1d

Please sign in to comment.