From 06eaf7232e9a920468c0f8d74dcf2fe8b555501c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:24:36 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/suite/engines/funcs/r/sq_all.result | 86 ++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 mysql-test/suite/engines/funcs/r/sq_all.result (limited to 'mysql-test/suite/engines/funcs/r/sq_all.result') diff --git a/mysql-test/suite/engines/funcs/r/sq_all.result b/mysql-test/suite/engines/funcs/r/sq_all.result new file mode 100644 index 00000000..24e62a3f --- /dev/null +++ b/mysql-test/suite/engines/funcs/r/sq_all.result @@ -0,0 +1,86 @@ +DROP TABLE IF EXISTS t1; +DROP TABLE IF EXISTS t2; +CREATE TABLE t1 (c1 INT, c2 CHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 >= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 = ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <> ALL (SELECT c1 FROM t2); +c1 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARCHAR(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 >= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 = ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <> ALL (SELECT c1 FROM t2); +c1 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 BINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 >= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 = ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <> ALL (SELECT c1 FROM t2); +c1 +DROP TABLE t1; +DROP TABLE t2; +CREATE TABLE t1 (c1 INT, c2 VARBINARY(100)); +INSERT INTO t1 VALUES (null,null); +INSERT INTO t1 VALUES (1,''); +INSERT INTO t1 VALUES (2,'abcde'); +INSERT INTO t1 VALUES (100,'abcdefghij'); +CREATE TABLE t2 (c1 INT); +INSERT INTO t2 VALUES (null); +INSERT INTO t2 VALUES (2); +INSERT INTO t2 VALUES (100); +SELECT c1 FROM t1 WHERE c1 > ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 >= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 = ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <= ALL (SELECT c1 FROM t2); +c1 +SELECT c1 FROM t1 WHERE c1 <> ALL (SELECT c1 FROM t2); +c1 +DROP TABLE t1; +DROP TABLE t2; -- cgit v1.2.3