diff options
author | unknown <gkodinov/kgeorge@magare.gmz> | 2008-02-28 16:29:14 +0200 |
---|---|---|
committer | unknown <gkodinov/kgeorge@magare.gmz> | 2008-02-28 16:29:14 +0200 |
commit | f1e18173dcd7da7a536b86dd78d868f64b1752fe (patch) | |
tree | 88ccb0cda5d5d528227441419c149b5e4255804c /mysql-test | |
parent | 9a19de7a7f8a0158c461ded17e2f7534de7cc4da (diff) | |
download | mariadb-git-f1e18173dcd7da7a536b86dd78d868f64b1752fe.tar.gz |
merge of bug 33266 to 5.1-opt
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/subselect.result | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/mysql-test/r/subselect.result b/mysql-test/r/subselect.result index 20d44933128..fe8374d665b 100644 --- a/mysql-test/r/subselect.result +++ b/mysql-test/r/subselect.result @@ -4155,6 +4155,41 @@ SELECT ((a1,a2) IN (SELECT * FROM t2 WHERE b2 > 0)) IS NULL FROM t1; 0 0 DROP TABLE t1, t2; +create table t1(a int,b int,key(a),key(b)); +insert into t1(a,b) values (1,2),(2,1),(2,3),(3,4),(5,4),(5,5), +(6,7),(7,4),(5,3); +5 +4 +3 +2 +1 +26 +25 +24 +23 +22 +21 +20 +19 +18 +17 +16 +15 +14 +13 +12 +11 +10 +9 +8 +7 +6 +5 +4 +3 +2 +1 +drop table t1; CREATE TABLE t1 (s1 BINARY(5), s2 VARBINARY(5)); INSERT INTO t1 VALUES (0x41,0x41), (0x42,0x42), (0x43,0x43); SELECT s1, s2 FROM t1 WHERE s2 IN (SELECT s1 FROM t1); |