diff options
author | bell@sanja.is.com.ua <> | 2004-11-24 19:48:30 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-11-24 19:48:30 +0200 |
commit | 6d5d5ff9410481f9f0eb6b08fd0cc00ca9621f14 (patch) | |
tree | 61a65160b16c22bd0c4d702f207e3436be702557 /mysql-test/t/lowercase_view.test | |
parent | ad2bd09d13749c129a982480e57548c4600de5d3 (diff) | |
download | mariadb-git-6d5d5ff9410481f9f0eb6b08fd0cc00ca9621f14.tar.gz |
fixed problem in MacOS
correct printing of aliases
Diffstat (limited to 'mysql-test/t/lowercase_view.test')
-rw-r--r-- | mysql-test/t/lowercase_view.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/lowercase_view.test b/mysql-test/t/lowercase_view.test index 2a2757650ae..4b688cfb922 100644 --- a/mysql-test/t/lowercase_view.test +++ b/mysql-test/t/lowercase_view.test @@ -32,3 +32,18 @@ delete from v2aA where col1 = (select max(col1) from v1aA); insert into v2aA values ((select max(col1) from v1aA)); drop view v2Aa,v1Aa; drop table t1Aa,t2Aa; + +# +# aliases in VIEWs +# +create table t1Aa (col1 int); +create view v1Aa as select col1 from t1Aa as AaA; +show create view v1AA; +drop view v1AA; +select Aaa.col1 from t1Aa as AaA; +create view v1Aa as select Aaa.col1 from t1Aa as AaA; +drop view v1AA; +create view v1Aa as select AaA.col1 from t1Aa as AaA; +show create view v1AA; +drop view v1AA; +drop table t1Aa; |