~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/t/subselect3.test

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
606
606
DROP TABLE t1, t2;
607
607
 
608
608
#
 
609
# Bug #36005: crash in subselect with single row
 
610
#             (subselect_single_select_engine::exec)
 
611
#
 
612
 
 
613
CREATE TABLE t1 (a INT);
 
614
INSERT INTO t1 VALUES (1),(2),(3);
 
615
CREATE TABLE t2 SELECT * FROM t1;
 
616
 
 
617
SELECT 1 FROM t1 WHERE t1.a NOT IN (SELECT 1 FROM t1, t2 WHERE 0);
 
618
 
 
619
DROP TABLE t1, t2;
 
620
 
 
621
#
609
622
# Bug 2198
610
623
#
611
624