1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Merge branch '11.8' into 12.0

This commit is contained in:
Oleksandr Byelkin
2025-06-18 07:50:39 +02:00
271 changed files with 4921 additions and 1348 deletions

View File

@@ -3443,6 +3443,15 @@ insert into t values (1),(2);
DELETE from t;
drop table t;
#
# MDEV-36817 Server crashes in do_mark_index_columns instead of
# ER_DUP_ENTRY on partitioned table
#
create table t (f int, unique(f)) engine=innodb partition by key (f) partitions 2;
insert into t (f) values (1), (3);
update t set f = 0;
ERROR 23000: Duplicate entry '0' for key 'f'
drop table t;
#
# End of 10.5 tests
#
#
@@ -3487,6 +3496,18 @@ f()
drop table t;
drop function f;
#
# MDEV-33370 Assertion `!is_set() || (m_status == DA_OK_BULK &&
# is_bulk_op())' failed after ALTER TABLE of versioned table
#
create table t1 (i int) with system versioning
partition by system_time interval 1 month (
partition ver_p1 history,
partition ver_p2 history,
partition ver_pn current);
alter table `t1` partition by system_time interval 10007 year ;
ERROR 22003: TIMESTAMP value is out of range in 'INTERVAL'
drop table t1;
#
# End of 10.11 tests
#
set global innodb_stats_persistent= @save_persistent;