diff options
author | joreland@mysql.com <> | 2005-06-09 15:39:14 +0200 |
---|---|---|
committer | joreland@mysql.com <> | 2005-06-09 15:39:14 +0200 |
commit | 14d74e75dbe5c081d77fc2f4e94f8cd4988ebebf (patch) | |
tree | 277f980ee6478f933b68c2b503705b0fcaa21321 /mysql-test/r/ndb_subquery.result | |
parent | a5a13ea8c8a00927b15d760f94220c28986b75c1 (diff) | |
download | mariadb-git-14d74e75dbe5c081d77fc2f4e94f8cd4988ebebf.tar.gz |
bug#11205 - ndb - 4006 when starting scan
Diffstat (limited to 'mysql-test/r/ndb_subquery.result')
-rw-r--r-- | mysql-test/r/ndb_subquery.result | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/r/ndb_subquery.result b/mysql-test/r/ndb_subquery.result index f65f09b71b3..b19571b05c1 100644 --- a/mysql-test/r/ndb_subquery.result +++ b/mysql-test/r/ndb_subquery.result @@ -40,3 +40,22 @@ p u o 5 5 5 drop table t1; drop table t2; +create table t1 (p int not null primary key, u int not null) engine=ndb; +insert into t1 values (1,1),(2,2),(3,3); +create table t2 as +select t1.* +from t1 as t1, t1 as t2, t1 as t3, t1 as t4, t1 as t5, t1 as t6, t1 as t7, t1 as t8 +where t1.u = t2.u +and t2.u = t3.u +and t3.u = t4.u +and t4.u = t5.u +and t5.u = t6.u +and t6.u = t7.u +and t7.u = t8.u; +select * from t2 order by 1; +p u +1 1 +2 2 +3 3 +drop table t1; +drop table t2; |