diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2010-10-12 22:48:49 +0300 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2010-10-12 22:48:49 +0300 |
commit | 7b95a6f74547162aabf81971566a9ac970d6f03a (patch) | |
tree | ad938fd92fa599830c6524e4b3a2ab2e6e765535 /mysql-test/r/subselect4.result | |
parent | 51294f59488789dcde8b4d8f0c2027e5e8b2c1a5 (diff) | |
download | mariadb-git-7b95a6f74547162aabf81971566a9ac970d6f03a.tar.gz |
Post-merge test result fixes part#1 (checked)
Diffstat (limited to 'mysql-test/r/subselect4.result')
-rw-r--r-- | mysql-test/r/subselect4.result | 53 |
1 files changed, 23 insertions, 30 deletions
diff --git a/mysql-test/r/subselect4.result b/mysql-test/r/subselect4.result index 176920a8fa8..ed1699c1409 100644 --- a/mysql-test/r/subselect4.result +++ b/mysql-test/r/subselect4.result @@ -59,7 +59,29 @@ FROM t3 WHERE 1 = 0 GROUP BY 1; (SELECT 1 FROM t1,t2 WHERE t2.b > t3.b) DROP TABLE t1,t2,t3; End of 5.0 tests. -<<<<<<< TREE +CREATE TABLE t1 (col_int_nokey int(11) NOT NULL, col_varchar_nokey varchar(1) NOT NULL) engine=myisam; +INSERT INTO t1 VALUES (2,'s'),(0,'v'),(2,'s'); +CREATE TABLE t2 ( +pk int(11) NOT NULL AUTO_INCREMENT, +`col_int_key` int(11) NOT NULL, +col_varchar_key varchar(1) NOT NULL, +PRIMARY KEY (pk), +KEY `col_int_key` (`col_int_key`), +KEY `col_varchar_key` (`col_varchar_key`) +) ENGINE=MyISAM; +INSERT INTO t2 VALUES (4,10,'g'), (5,20,'v'); +SELECT t1.col_int_nokey,(SELECT MIN( t2_a.col_int_key ) FROM t2 t2_a, t2 t2_b, t1 t1_a WHERE t1_a.col_varchar_nokey = t2_b.col_varchar_key and t1.col_int_nokey ) as sub FROM t1; +col_int_nokey sub +2 10 +0 NULL +2 10 +SELECT t1.col_int_nokey,(SELECT MIN( t2_a.col_int_key ) +1 FROM t2 t2_a, t2 t2_b, t1 t1_a WHERE t1_a.col_varchar_nokey = t2_b.col_varchar_key and t1.col_int_nokey ) as sub FROM t1; +col_int_nokey sub +2 11 +0 NULL +2 11 +DROP TABLE t1,t2; +End of 5.1 tests. # # BUG#46743 "Azalea processing correlated, aggregate SELECT # subqueries incorrectly" @@ -330,12 +352,7 @@ i3 INT, KEY i1_index (i1_key) ); INSERT INTO t1 VALUES (9,1,2), (9,2,1); -======= -CREATE TABLE t1 (col_int_nokey int(11) NOT NULL, col_varchar_nokey varchar(1) NOT NULL) engine=myisam; -INSERT INTO t1 VALUES (2,'s'),(0,'v'),(2,'s'); ->>>>>>> MERGE-SOURCE CREATE TABLE t2 ( -<<<<<<< TREE pk INT NOT NULL, i1 INT, PRIMARY KEY (pk) @@ -359,28 +376,4 @@ pk 9 # Restore old value for Index condition pushdown SET SESSION engine_condition_pushdown=@old_icp; -======= -pk int(11) NOT NULL AUTO_INCREMENT, -`col_int_key` int(11) NOT NULL, -col_varchar_key varchar(1) NOT NULL, -PRIMARY KEY (pk), -KEY `col_int_key` (`col_int_key`), -KEY `col_varchar_key` (`col_varchar_key`) -) ENGINE=MyISAM; -INSERT INTO t2 VALUES (4,10,'g'), (5,20,'v'); -SELECT t1.col_int_nokey,(SELECT MIN( t2_a.col_int_key ) FROM t2 t2_a, t2 t2_b, t1 t1_a WHERE t1_a.col_varchar_nokey = t2_b.col_varchar_key and t1.col_int_nokey ) as sub FROM t1; -col_int_nokey sub -2 10 -0 NULL -2 10 -SELECT t1.col_int_nokey,(SELECT MIN( t2_a.col_int_key ) +1 FROM t2 t2_a, t2 t2_b, t1 t1_a WHERE t1_a.col_varchar_nokey = t2_b.col_varchar_key and t1.col_int_nokey ) as sub FROM t1; -col_int_nokey sub -2 11 -0 NULL -2 11 ->>>>>>> MERGE-SOURCE DROP TABLE t1,t2; -<<<<<<< TREE -======= -End of 5.1 tests. ->>>>>>> MERGE-SOURCE |