diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2019-05-27 23:29:43 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2019-07-09 10:01:54 +0300 |
commit | b0dd048eddbdd9b086283a53a9a99b360e71e41a (patch) | |
tree | 11c54fc5857d6f8dc8eab290f4dcd1a11d8ce36d /mysql-test/suite/versioning/t | |
parent | 3ffa06bc2081e0e76cc3c417291703ce6e788d8c (diff) | |
download | mariadb-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 'mysql-test/suite/versioning/t')
-rw-r--r-- | mysql-test/suite/versioning/t/partition.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/suite/versioning/t/partition.test b/mysql-test/suite/versioning/t/partition.test index d5c83b4d3bb..cd16ab7c466 100644 --- a/mysql-test/suite/versioning/t/partition.test +++ b/mysql-test/suite/versioning/t/partition.test @@ -489,6 +489,14 @@ partition by system_time interval column_get(column_create(7,7), 7 as int) secon --replace_result $default_engine DEFAULT_ENGINE show create table t1; +--echo # +--echo # MDEV-19175 Server crashes in ha_partition::vers_can_native upon INSERT DELAYED into versioned partitioned table +--echo # +create or replace table t1 (f int) with system versioning partition by hash(f); +# delayed works differently in embedded server +--error 0,ER_DELAYED_NOT_SUPPORTED +insert delayed into t1 values (1); + --echo # Test cleanup drop database test; create database test; |