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
commit28278b141009a44957986bba8f553040dffb1373 (patch)
treef6873bf65f160e31e6bf4f269ff08029653a7f2d /sql/sql_lex.cc
parent7b5e90b4dd7e5be7552f75fbc7e2c89b2fd63260 (diff)
downloadmariadb-git-28278b141009a44957986bba8f553040dffb1373.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;