mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge branch '10.9' into 10.10
This commit is contained in:
@ -1080,6 +1080,7 @@ DROP TABLE t1;
|
||||
|
||||
# Testing with side effects
|
||||
|
||||
--disable_ps2_protocol
|
||||
CREATE TABLE t1 (a INT);
|
||||
INSERT INTO t1 VALUES (1),(2),(3);
|
||||
SET @a=0;
|
||||
@ -1088,6 +1089,7 @@ SELECT @a;
|
||||
SET @a=0;
|
||||
SELECT NULLIF(AVG(a),0), NULLIF(AVG(LAST_VALUE(@a:=@a+1,a)),0) FROM t1;
|
||||
SELECT @a;
|
||||
--enable_ps2_protocol
|
||||
|
||||
# There should not be cache in here:
|
||||
|
||||
|
Reference in New Issue
Block a user