summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-10-27 06:37:21 +0400
committerAlexander Barkov <bar@mariadb.org>2016-10-27 06:37:21 +0400
commit39d2c7b18d6e5f2fb7cb6ec368e3ee2b5a405b10 (patch)
treec130e330c564a7d077efaee50028114ae8005f29
parent0c15d1a6ff0d18da946f050cfeac176387a76112 (diff)
downloadmariadb-git-10.2-MDEV9069.tar.gz
Removing LEX::interval_list, as it's not used since parser cleanups10.2-MDEV9069
made in 227510e039b4ec6bff3096a4b9b39847551dab1a. We now use lex->last_field->interval_list directly instead.
-rw-r--r--sql/sql_lex.cc1
-rw-r--r--sql/sql_lex.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index c53daf7d92d..19e7668790e 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -2151,7 +2151,6 @@ void st_select_lex::init_select()
in_sum_expr= with_wild= 0;
options= 0;
sql_cache= SQL_CACHE_UNSPECIFIED;
- interval_list.empty();
ftfunc_list_alloc.empty();
inner_sum_func_list= 0;
ftfunc_list= &ftfunc_list_alloc;
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index e5f77b23e55..b044ef42b97 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -788,7 +788,6 @@ public:
Group_list_ptrs *group_list_ptrs;
List<Item> item_list; /* list of fields & expressions */
- List<String> interval_list;
bool is_item_list_lookup;
/*
Usualy it is pointer to ftfunc_list_alloc, but in union used to create fake