summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2019-05-27 23:29:43 +0300
committerAleksey Midenkov <midenok@gmail.com>2019-07-09 10:01:54 +0300
commitb0dd048eddbdd9b086283a53a9a99b360e71e41a (patch)
tree11c54fc5857d6f8dc8eab290f4dcd1a11d8ce36d /sql/sql_lex.cc
parent3ffa06bc2081e0e76cc3c417291703ce6e788d8c (diff)
downloadmariadb-git-b0dd048eddbdd9b086283a53a9a99b360e71e41a.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/sql_lex.cc')
-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 bd9725cbe0f..ee0bf605d69 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -3145,7 +3145,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)
{