1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merge branch '10.11' into 11.0

This commit is contained in:
Oleksandr Byelkin
2023-08-08 21:03:46 +02:00
870 changed files with 11721 additions and 6311 deletions

View File

@ -1020,6 +1020,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),
@ -1073,6 +1074,7 @@ select
from t1;
drop table t1;
--enable_ps2_protocol
--echo #
@ -2560,7 +2562,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;
@ -2570,6 +2573,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