Below is the list of changes that have just been committed into a local
5.0 repository of marty. When marty does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2006-11-29 11:53:43+01:00, mskold@stripped +2 -0
bug#24303 Wrong result for UPDATE IGNORE for NDB table: Added test case
mysql-test/r/ndb_update.result@stripped, 2006-11-29 11:53:13+01:00, mskold@stripped +8 -0
bug#24303 Wrong result for UPDATE IGNORE for NDB table: Added test case
mysql-test/t/ndb_update.test@stripped, 2006-11-29 11:52:45+01:00, mskold@stripped +4 -0
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: mskold
# Host: linux.site
# Root: /windows/Linux_space/MySQL/mysql-5.0
--- 1.10/mysql-test/r/ndb_update.result 2006-11-29 11:53:53 +01:00
+++ 1.11/mysql-test/r/ndb_update.result 2006-11-29 11:53:53 +01:00
@@ -17,6 +17,14 @@ pk1 b c
0 0 0
2 2 2
4 1 1
+UPDATE t1 set pk1 = 4 where pk1 = 2;
+ERROR 23000: Duplicate entry '4' for key 1
+UPDATE IGNORE t1 set pk1 = 4 where pk1 = 2;
+select * from t1 order by pk1;
+pk1 b c
+0 0 0
+2 2 2
+4 1 1
UPDATE t1 set pk1 = 1, c = 2 where pk1 = 4;
ERROR 23000: Duplicate entry '' for key 0
select * from t1 order by pk1;
--- 1.7/mysql-test/t/ndb_update.test 2006-11-29 11:53:53 +01:00
+++ 1.8/mysql-test/t/ndb_update.test 2006-11-29 11:53:53 +01:00
@@ -23,6 +23,10 @@ UPDATE t1 set b = c;
select * from t1 order by pk1;
UPDATE t1 set pk1 = 4 where pk1 = 1;
select * from t1 order by pk1;
+--error 1062
+UPDATE t1 set pk1 = 4 where pk1 = 2;
+UPDATE IGNORE t1 set pk1 = 4 where pk1 = 2;
+select * from t1 order by pk1;
-- error 1062
UPDATE t1 set pk1 = 1, c = 2 where pk1 = 4;
select * from t1 order by pk1;
| Thread |
|---|
| • bk commit into 5.0 tree (mskold:1.2284) BUG#24303 | Martin Skold | 29 Nov |