1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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().
This commit is contained in:
Aleksey Midenkov
2019-05-27 23:29:43 +03:00
parent 3ffa06bc20
commit b0dd048edd
3 changed files with 14 additions and 1 deletions

View File

@ -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)
{