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

Merge branch '10.5' into 10.6

This commit is contained in:
Oleksandr Byelkin
2023-08-01 15:08:52 +02:00
827 changed files with 11530 additions and 5879 deletions

View File

@ -1016,6 +1016,7 @@ drop table t1;
--echo # MDEV-9848: Window functions: reuse sorting and/or scanning
--echo #
--disable_ps2_protocol
create table t1 (a int, b int, c int);
insert into t1 values
(1,3,1),
@ -1065,6 +1066,7 @@ select
from t1;
drop table t1;
--enable_ps2_protocol
--echo #
@ -2548,7 +2550,8 @@ drop table t1;
--echo #
--echo # MDEV-25630: Crash with window function in left expr of IN subquery
--echo #
#Enable after fix MDEV-31281
--disable_ps2_protocol
CREATE TABLE t1 (i int);
INSERT INTO t1 VALUES (1),(2),(3);
SELECT lag(i) over (ORDER BY i) IN ( SELECT 1 FROM t1 a) FROM t1;
@ -2558,6 +2561,7 @@ CREATE TABLE t1 (i int);
INSERT INTO t1 VALUES (1),(2),(3);
SELECT sum(i) over () IN ( SELECT 1 FROM t1 a) FROM t1;
DROP TABLE t1;
--enable_ps2_protocol
--echo #
--echo # MDEV-25565: 2-nd call of SP with SELECT from view / derived table / CTE