diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-11-16 16:41:29 +0200 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-11-16 16:41:29 +0200 |
commit | a40a9d59161e2de19551b0bd1ad016681741e918 (patch) | |
tree | 04cf66893d87bd087aed3902c9fffa2f5a62a328 /mysql-test/r/derived.result | |
parent | 9c28568dc269a7b0c3de79880a72d1588210b2c6 (diff) | |
download | mariadb-git-a40a9d59161e2de19551b0bd1ad016681741e918.tar.gz |
Some new tests...................
mysql-test/r/derived.result:
A test for derived table which requires creation on temporary MyISAM
table ...
mysql-test/r/select_found.result:
A test for LIMIT )
mysql-test/t/derived.test:
A test for derived table which requires creation on temporary MyISAM
table ...
mysql-test/t/select_found.test:
A test for LIMIT 0
Diffstat (limited to 'mysql-test/r/derived.result')
-rw-r--r-- | mysql-test/r/derived.result | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mysql-test/r/derived.result b/mysql-test/r/derived.result index 0290d0755d5..204ca86f306 100644 --- a/mysql-test/r/derived.result +++ b/mysql-test/r/derived.result @@ -40,3 +40,28 @@ a select 1 from (select 1); 1 1 +drop table if exists t1; +create table t1(a int not null, t char(8), index(a)); +SELECT * FROM (SELECT * FROM t1) ORDER BY a ASC LIMIT 0,20; +a t +1 1 +2 2 +3 3 +4 4 +5 5 +6 6 +7 7 +8 8 +9 9 +10 10 +11 11 +12 12 +13 13 +14 14 +15 15 +16 16 +17 17 +18 18 +19 19 +20 20 +drop table if exists t1; |