diff options
Diffstat (limited to 'mysql-test/suite/period/t/delete.test')
-rw-r--r-- | mysql-test/suite/period/t/delete.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/suite/period/t/delete.test b/mysql-test/suite/period/t/delete.test index 738d77d2c19..e8035ca6ae7 100644 --- a/mysql-test/suite/period/t/delete.test +++ b/mysql-test/suite/period/t/delete.test @@ -198,3 +198,11 @@ drop procedure sp; drop table t,t2,t3,log_tbl; drop view v; drop procedure log; + +# +# MDEV-22424 Server crashes in handler::check_duplicate_long_entry_key or Assertion `inited == NONE || lookup_handler != this' failed upon DELETE FOR PORTION on table with long unique key +# +create table t1 (pk int, s date, e date, period for se (s,e), primary key (pk,se without overlaps)); +insert into t1 values (1,'2020-01-01','2020-02-20'); +delete from t1 for portion of se from '2020-01-30' to '2020-01-31'; +drop table t1; |