List:Commits« Previous MessageNext Message »
From:Frazer Clement Date:June 26 2008 11:35am
Subject:bzr commit into mysql-5.1-telco-6.3 tree (frazer:2632) Bug#37516
View as plain text  
#At file:///home/frazer/bzr/mysql-5.1-telco-6.3/

------------------------------------------------------------
revno: 2632
revision-id: frazer@stripped
parent: tomas.ulin@stripped
committer: Frazer Clement <frazer@stripped>
branch nick: mysql-5.1-telco-6.3
timestamp: Thu 2008-06-26 10:35:14 +0100
message:
  Bug#37516 DELETE using UNIQUE index deletes the wrong row
  
  Code for the read-before-write removal optimisation when using 
  unique indexes did not work correctly when the base table
  had no primary key (i.e. hidden primary key).
added:
  mysql-test/suite/ndb/r/ndb_hidden_pk.result
ndb_hidden_pk.result-20080619120456-kvd0l74zrvp6fl96-1
  mysql-test/suite/ndb/t/ndb_hidden_pk.test
ndb_hidden_pk.test-20080619120445-10hgl937fdkdln4r-1
modified:
  sql/ha_ndbcluster.cc          
sp1f-ha_ndbcluster.cc-20040414175836-rvqnoxrkqexyhfu3d62s4t345ip7rez2
per-file comments:
  mysql-test/suite/ndb/r/ndb_hidden_pk.result
    New result file
  mysql-test/suite/ndb/t/ndb_hidden_pk.test
    Add testcase file for tables with hidden primary key, and some preliminary tests
  sql/ha_ndbcluster.cc
    Always use index for access if requested to, even if the table has a hidden primary
key.

Attachment: [text/text/x-diff] patch-2632.diff
Thread
bzr commit into mysql-5.1-telco-6.3 tree (frazer:2632) Bug#37516Frazer Clement26 Jun