summaryrefslogtreecommitdiff
path: root/mysql-test/t/delete.test
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2010-09-01 17:12:42 +0400
committerAlexander Nozdrin <alik@sun.com>2010-09-01 17:12:42 +0400
commitd88532110fc70edef4c801ea427a8c8101ff3792 (patch)
tree77d2c6cdf2b73295a8f3fe45b59725ab24529d00 /mysql-test/t/delete.test
parent99c7536c5c8d9d472c778065973a21d4b23b9f36 (diff)
parent7bd808548ee52e597cb444a2ef36c593d81fce0b (diff)
downloadmariadb-git-d88532110fc70edef4c801ea427a8c8101ff3792.tar.gz
Auto-merge from mysql-5.5.
Diffstat (limited to 'mysql-test/t/delete.test')
-rw-r--r--mysql-test/t/delete.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/delete.test b/mysql-test/t/delete.test
index a21fff60d33..15aade73ab7 100644
--- a/mysql-test/t/delete.test
+++ b/mysql-test/t/delete.test
@@ -540,4 +540,17 @@ DELETE FROM t1 WHERE a = 10 OR b = 20 ORDER BY c LIMIT 1;
DROP TABLE t1;
+--echo #
+--echo # Bug #53034: Multiple-table DELETE statements not accepting
+--echo # "Access compatibility" syntax
+--echo #
+
+CREATE TABLE t1 (id INT);
+CREATE TABLE t2 LIKE t1;
+CREATE TABLE t3 LIKE t1;
+
+DELETE FROM t1.*, test.t2.*, a.* USING t1, t2, t3 AS a;
+
+DROP TABLE t1, t2, t3;
+
--echo End of 5.1 tests