summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2019-05-27 23:29:43 +0300
committerAleksey Midenkov <midenok@gmail.com>2019-07-07 23:11:20 +0300
commited33a5df8bb4d081a9fc97d272ceeee329f82072 (patch)
tree9f255c35af7a4ade14bfa1108c7fbf29f164811e /sql
parent08baaa14b9075f61a043de4443cbecd36117cd12 (diff)
downloadmariadb-git-ed33a5df8bb4d081a9fc97d272ceeee329f82072.tar.gz
MDEV-19175 Server crashes in ha_partition::vers_can_native upon INSERT DELAYED into versioned partitioned table
Uninitialized LEX::part_info on ha_partition::vers_can_native().
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_lex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 40086f39d65..0716efeb514 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -3229,7 +3229,7 @@ void Query_tables_list::destroy_query_tables_list()
*/
LEX::LEX()
- : explain(NULL), result(0), arena_for_set_stmt(0), mem_root_for_set_stmt(0),
+ : explain(NULL), result(0), part_info(NULL), arena_for_set_stmt(0), mem_root_for_set_stmt(0),
option_type(OPT_DEFAULT), context_analysis_only(0), sphead(0),
default_used(0), is_lex_started(0), limit_rows_examined_cnt(ULONGLONG_MAX)
{