summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorunknown <ramil@mysql.com>2006-04-11 23:46:27 +0500
committerunknown <ramil@mysql.com>2006-04-11 23:46:27 +0500
commitc97aa492e53fdc93d291f19f641cda386f9abf82 (patch)
tree54ed2f55fc09b6de43580d55c2512236737cea4e /mysql-test/t
parent961725aa518b283cf5a45aa3910a08c723710625 (diff)
parent8907bf0af7a04a6ac84ee027ffdba28a0854b836 (diff)
downloadmariadb-git-c97aa492e53fdc93d291f19f641cda386f9abf82.tar.gz
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/usr/home/ram/work/5.0.b14360
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/insert.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/insert.test b/mysql-test/t/insert.test
index ddde6cfa5d3..0c64dd80bec 100644
--- a/mysql-test/t/insert.test
+++ b/mysql-test/t/insert.test
@@ -175,3 +175,15 @@ select count(*) from t2;
insert into t2 select t1.* from t1, t2 t, t3 where t1.id1 = t.id2 and t.id2 = t3.id3;
select count(*) from t2;
drop table t1,t2,t3;
+
+#
+# Test for INSERT DELAYED INTO a <view>
+# BUG#13683: INSERT DELAYED into a view creates an infinite loop
+#
+
+create table t1 (n int);
+create view v1 as select * from t1;
+--error 1347
+insert delayed into v1 values (1);
+drop table t1;
+drop view v1;