summaryrefslogtreecommitdiff
path: root/mysql-test/t/update.test
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2006-02-02 18:17:18 +0300
committerkonstantin@mysql.com <>2006-02-02 18:17:18 +0300
commit98091b152a35dc987b9f393ac5737f4fd890aef4 (patch)
tree336ed0f3ebd53f06d2b14904f4fd937b5fe487c6 /mysql-test/t/update.test
parentc9b7317ff905d5496cbbd4df84f4879c19e27c01 (diff)
parent736faf473011dffd0fc0905c1d5e7859fa04c5aa (diff)
downloadmariadb-git-98091b152a35dc987b9f393ac5737f4fd890aef4.tar.gz
Merge mysql.com:/opt/local/work/mysql-4.1-root
into mysql.com:/opt/local/work/mysql-5.0-root
Diffstat (limited to 'mysql-test/t/update.test')
-rw-r--r--mysql-test/t/update.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/t/update.test b/mysql-test/t/update.test
index d0496b48c7a..5a49de248b1 100644
--- a/mysql-test/t/update.test
+++ b/mysql-test/t/update.test
@@ -287,4 +287,23 @@ update t1 set f1=1 where f1=3;
update t2,t1 set f1=3,f2=3 where f1=f2 and f1=1;
--disable_info
drop table t1,t2;
+
+
+# BUG#15935
+create table t1 (a int);
+insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
+create table t2 (a int, filler1 char(200), filler2 char(200), key(a));
+insert into t2 select A.a + 10*B.a, 'filler','filler' from t1 A, t1 B;
+flush status;
+update t2 set a=3 where a=2;
+show status like 'handler_read%';
+drop table t1, t2;
+
+#
+# Bug #16510 Updating field named like '*name' caused server crash
+#
+create table t1(f1 int, `*f2` int);
+insert into t1 values (1,1);
+update t1 set `*f2`=1;
+drop table t1;
# End of 4.1 tests