summaryrefslogtreecommitdiff
path: root/mysql-test/r/lowercase_table.result
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-03-22 15:43:13 +0200
committerbell@sanja.is.com.ua <>2004-03-22 15:43:13 +0200
commitbbb6642a66be0b94c6a14ff2ae7ea27f31208e3d (patch)
tree9c2daacc3ecbf555341d9004c43b7a91dab4fe29 /mysql-test/r/lowercase_table.result
parent7411ac19df83581ba74ea45ae5e575abd423c68f (diff)
downloadmariadb-git-bbb6642a66be0b94c6a14ff2ae7ea27f31208e3d.tar.gz
aliases should be compared with my_strcasecmp (BUG#3251)
some db comparison code cleupup removed compiler warnings
Diffstat (limited to 'mysql-test/r/lowercase_table.result')
-rw-r--r--mysql-test/r/lowercase_table.result11
1 files changed, 10 insertions, 1 deletions
diff --git a/mysql-test/r/lowercase_table.result b/mysql-test/r/lowercase_table.result
index f4e7723a608..8bf3db8cad0 100644
--- a/mysql-test/r/lowercase_table.result
+++ b/mysql-test/r/lowercase_table.result
@@ -1,4 +1,4 @@
-drop table if exists t1,t2,t3,t4,T1;
+drop table if exists t1,t2,t3,t4;
create table T1 (id int primary key, Word varchar(40) not null, Index(Word));
create table t4 (id int primary key, Word varchar(40) not null);
INSERT INTO T1 VALUES (1, 'a'), (2, 'b'), (3, 'c');
@@ -49,3 +49,12 @@ delete P1.*,p2.* from t1 as P1, t2 as P2 where P1.a=p2.a;
update t1 as p1, t2 as p2 SET p1.a=1,P2.a=1 where p1.a=P2.a;
update t1 as P1, t2 as P2 SET P1.a=1,p2.a=1 where P1.a=p2.a;
drop table t1,t2;
+create table t1 (a int);
+create table t2 (a int);
+select * from t1 c, t2 C;
+ERROR 42000: Not unique table/alias: 'C'
+select C.a, c.a from t1 c, t2 C;
+ERROR 42000: Not unique table/alias: 'C'
+drop table t1, t2;
+show tables;
+Tables_in_test