diff options
Diffstat (limited to 'mysql-test/r/view.result')
-rw-r--r-- | mysql-test/r/view.result | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/r/view.result b/mysql-test/r/view.result index 8d1b8757a3e..cf3a1739710 100644 --- a/mysql-test/r/view.result +++ b/mysql-test/r/view.result @@ -1757,6 +1757,20 @@ select * from v1; cast(1 as decimal) 1.00 drop view v1; +create table t1(f1 int); +create table t2(f2 int); +insert into t1 values(1),(2),(3); +insert into t2 values(1),(2),(3); +create view v1 as select * from t1,t2 where f1=f2; +create table t3 (f1 int, f2 int); +insert into t3 select * from v1 order by 1; +select * from t3; +f1 f2 +1 1 +2 2 +3 3 +drop view v1; +drop table t1,t2,t3; create view v1 as select '\\','\\shazam'; select * from v1; \ \shazam |