This commit is contained in:
Sergei Golubchik 2012-04-07 15:58:46 +02:00
commit f860b2aad4
47 changed files with 662 additions and 245 deletions

View file

@ -78,13 +78,7 @@ insert into t3 select
A.a + 10*B.a, A.a + 10*B.a, A.a + 10*B.a, A.a + 10*B.a
from t0 A, t0 B where B.a <5;
#
# InnoDB does not use join buffer here, XtraDB does
# (despite the comment above which says "no join buffering",
# because it does not hold when this file is included
# into subselect_sj2_jcl6.test)
#
#--replace_regex /Using join buffer//
--replace_column 9 #
explain select * from t3 where b in (select a from t0);
select * from t3 where b in (select A.a+B.a from t0 A, t0 B where B.a<5);