1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Merge branch 'bb-11.5-release' into bb-11.6-release

This commit is contained in:
Oleksandr Byelkin
2024-08-06 14:45:24 +02:00
514 changed files with 13168 additions and 5551 deletions

View File

@ -1,4 +1,3 @@
drop table if exists t1;
CREATE TABLE t1 (a int, b int)
PARTITION BY RANGE (a)
(PARTITION x0 VALUES LESS THAN (2),
@ -158,3 +157,15 @@ PARTITION p1 VALUES IN (0) (SUBPARTITION p1b),
PARTITION p2 VALUES IN (2) (SUBPARTITION p1b)
);
ERROR HY000: Duplicate partition name p1b
# End of 5.5 tests
#
# MDEV-32155 MariaDB Server crashes with ill-formed partitions
#
create table t1 (c1 set ( 'abc' ) binary unicode) partition by linear hash (c1 mod c1) partitions 10;
alter table t1 check partition all for upgrade;
Table Op Msg_type Msg_text
test.t1 check status OK
alter table t1 order by nonexistent;
ERROR 42S22: Unknown column 'nonexistent' in 'order clause'
drop table t1;
# End of 10.5 tests