summaryrefslogtreecommitdiff
path: root/mysql-test/r/update.result
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2005-12-02 19:42:14 +0300
committerunknown <evgen@moonbone.local>2005-12-02 19:42:14 +0300
commit454e0852913d6c7bd3bfde72b429614e67fab025 (patch)
treea6023835c30a5415c611dcc261d8e62e186230a2 /mysql-test/r/update.result
parent110b887c4e6bbe27577c1ade5dfbc9479957bf20 (diff)
parentf173e09f0dbc117238560ff5936b149d5024871c (diff)
downloadmariadb-git-454e0852913d6c7bd3bfde72b429614e67fab025.tar.gz
Manually merged
mysql-test/r/update.result: Auto merged mysql-test/t/update.test: Auto merged ndb/src/kernel/blocks/backup/Backup.cpp: Auto merged sql/sql_update.cc: Auto merged
Diffstat (limited to 'mysql-test/r/update.result')
-rw-r--r--mysql-test/r/update.result13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/r/update.result b/mysql-test/r/update.result
index aeb44fa4e6c..abeade5df0c 100644
--- a/mysql-test/r/update.result
+++ b/mysql-test/r/update.result
@@ -345,3 +345,16 @@ f1
2000-01-01
2002-02-02
drop table t1;
+create table t1 (f1 int);
+create table t2 (f2 int);
+insert into t1 values(1),(2);
+insert into t2 values(1),(1);
+update t1,t2 set f1=3,f2=3 where f1=f2 and f1=1;
+affected rows: 3
+info: Rows matched: 3 Changed: 3 Warnings: 0
+update t2 set f2=1;
+update t1 set f1=1 where f1=3;
+update t2,t1 set f1=3,f2=3 where f1=f2 and f1=1;
+affected rows: 3
+info: Rows matched: 3 Changed: 3 Warnings: 0
+drop table t1,t2;