mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1-opt
into moonbone.local:/work/16302-bug-4.1-opt-mysql mysql-test/r/subselect.result: SCCS merged mysql-test/t/subselect.test: SCCS merged
This commit is contained in:
commit
e2c448fb5c
3 changed files with 34 additions and 0 deletions
|
|
@ -2835,6 +2835,21 @@ a
|
|||
4
|
||||
DROP TABLE t1,t2,t3;
|
||||
purge master logs before (select adddate(current_timestamp(), interval -4 day));
|
||||
CREATE TABLE t1 (f1 INT);
|
||||
CREATE TABLE t2 (f2 INT);
|
||||
INSERT INTO t1 VALUES (1);
|
||||
SELECT * FROM t1 WHERE f1 > ALL (SELECT f2 FROM t2);
|
||||
f1
|
||||
1
|
||||
SELECT * FROM t1 WHERE f1 > ALL (SELECT f2 FROM t2 WHERE 1=0);
|
||||
f1
|
||||
1
|
||||
INSERT INTO t2 VALUES (1);
|
||||
INSERT INTO t2 VALUES (2);
|
||||
SELECT * FROM t1 WHERE f1 > ALL (SELECT f2 FROM t2 WHERE f2=0);
|
||||
f1
|
||||
1
|
||||
DROP TABLE t1, t2;
|
||||
select 1 from dual where 1 < any (select 2);
|
||||
1
|
||||
1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue