mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +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:
@@ -541,6 +541,11 @@ t1 CREATE TABLE `t1` (
|
||||
PARTITION BY SYSTEM_TIME INTERVAL 7 SECOND
|
||||
(PARTITION `ver_p1` HISTORY ENGINE = DEFAULT_ENGINE,
|
||||
PARTITION `ver_pn` CURRENT ENGINE = DEFAULT_ENGINE)
|
||||
#
|
||||
# MDEV-19175 Server crashes in ha_partition::vers_can_native upon INSERT DELAYED into versioned partitioned table
|
||||
#
|
||||
create or replace table t1 (f int) with system versioning partition by hash(f);
|
||||
insert delayed into t1 values (1);
|
||||
# Test cleanup
|
||||
drop database test;
|
||||
create database test;
|
||||
|
Reference in New Issue
Block a user