summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2013-09-09 12:43:08 +0200
committerTor Didriksen <tor.didriksen@oracle.com>2013-09-09 12:43:08 +0200
commit90ecf4eba33692e76a83a57be2bc061199a72912 (patch)
treef6873bf65f160e31e6bf4f269ff08029653a7f2d /sql/sql_lex.cc
parente4bb3dc1c66f640b21ffcbd4a66f8e09eee414f0 (diff)
downloadmariadb-git-90ecf4eba33692e76a83a57be2bc061199a72912.tar.gz
Bug#16870783 RECENT REGRESSION: CRASH WITH GROUP_CONCAT AND INVALID SEPARATOR
Add missing initialization in lex_start()
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index bc313ed0486..9113f31c76c 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -411,6 +411,7 @@ void lex_start(THD *thd)
lex->select_lex.ftfunc_list= &lex->select_lex.ftfunc_list_alloc;
lex->select_lex.group_list.empty();
lex->select_lex.order_list.empty();
+ lex->select_lex.gorder_list.empty();
lex->duplicates= DUP_ERROR;
lex->ignore= 0;
lex->spname= NULL;