From: Date: October 16 2006 11:55am Subject: bk commit into 5.0 tree (mskold:1.2283) BUG#21072 List-Archive: http://lists.mysql.com/commits/13723 X-Bug: 21072 Message-Id: <20061016095503.9F45E1C4126@linux.site> 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-10-16 11:54:54+02:00, mskold@stripped +2 -0 Bug #21072 Duplicate key error in NDB references wrong key: re-generated test results mysql-test/r/ndb_charset.result@stripped, 2006-10-16 11:54:38+02:00, mskold@stripped +2 -2 Bug #21072 Duplicate key error in NDB references wrong key: re-generated test results mysql-test/r/ndb_index_unique.result@stripped, 2006-10-16 11:54:38+02:00, mskold@stripped +1 -1 Bug #21072 Duplicate key error in NDB references wrong key: re-generated test results # 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.18/mysql-test/r/ndb_index_unique.result 2006-10-16 11:55:03 +02:00 +++ 1.19/mysql-test/r/ndb_index_unique.result 2006-10-16 11:55:03 +02:00 @@ -630,7 +630,7 @@ create table t1 (a int primary key, b va engine=ndb charset=utf8; insert into t1 values (1, repeat(_utf8 0xe288ab6474, 200)); insert into t1 values (2, repeat(_utf8 0xe288ab6474, 200)); -ERROR 23000: Duplicate entry '2' for key 1 +ERROR 23000: Duplicate entry '' for key 0 select a, sha1(b) from t1; a sha1(b) 1 08f5d02c8b8bc244f275bdfc22c42c5cab0d9d7d --- 1.8/mysql-test/r/ndb_charset.result 2006-10-16 11:55:03 +02:00 +++ 1.9/mysql-test/r/ndb_charset.result 2006-10-16 11:55:03 +02:00 @@ -138,9 +138,9 @@ unique key(a) ) engine=ndb; insert into t1 values (1,'A'),(2,'b '),(3,'C '),(4,'d '),(5,'E'),(6,'f'); insert into t1 values(99,'b'); -ERROR 23000: Duplicate entry '99' for key 1 +ERROR 23000: Duplicate entry '' for key 0 insert into t1 values(99,'a '); -ERROR 23000: Duplicate entry '99' for key 1 +ERROR 23000: Duplicate entry '' for key 0 select a,length(a) from t1 order by a; a length(a) A 1