summaryrefslogtreecommitdiff
path: root/mysql-test/t/lowercase_table.test
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-02-20 22:44:54 +0200
committerbell@sanja.is.com.ua <>2004-02-20 22:44:54 +0200
commit0af6983ed08980616977ee065f9b6f35c963fc90 (patch)
treef09668bcb5a732360f64157d3bb8daee3dd1003c /mysql-test/t/lowercase_table.test
parentc6c1efba7e906605a069e28a1ea72b1e78b49423 (diff)
downloadmariadb-git-0af6983ed08980616977ee065f9b6f35c963fc90.tar.gz
fixed comparation of tables/database names with --lower_case_table_names (BUG#2880)
Diffstat (limited to 'mysql-test/t/lowercase_table.test')
-rw-r--r--mysql-test/t/lowercase_table.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/lowercase_table.test b/mysql-test/t/lowercase_table.test
index 601f1734ac6..42e9cdc9f3d 100644
--- a/mysql-test/t/lowercase_table.test
+++ b/mysql-test/t/lowercase_table.test
@@ -30,3 +30,14 @@ select count(*) from t1;
select count(T1.a) from t1;
select count(bags.a) from t1 as Bags;
drop table t1;
+
+#
+# multiupdate/delete & --lower-case-table-names
+#
+create table t1 (a int);
+create table t2 (a int);
+delete p1.*,P2.* from t1 as p1, t2 as p2 where p1.a=P2.a;
+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;