summaryrefslogtreecommitdiff
path: root/mysql-test/r/ndb_subquery.result
diff options
context:
space:
mode:
authorjoreland@mysql.com <>2005-06-09 15:39:14 +0200
committerjoreland@mysql.com <>2005-06-09 15:39:14 +0200
commit14d74e75dbe5c081d77fc2f4e94f8cd4988ebebf (patch)
tree277f980ee6478f933b68c2b503705b0fcaa21321 /mysql-test/r/ndb_subquery.result
parenta5a13ea8c8a00927b15d760f94220c28986b75c1 (diff)
downloadmariadb-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.result19
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;