summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authorunknown <mskold/marty@mysql.com/quadfish.(none)>2007-12-07 11:05:19 +0100
committerunknown <mskold/marty@mysql.com/quadfish.(none)>2007-12-07 11:05:19 +0100
commit154ffb3ff5e5b4bf5b15af261ac858ac59adf1f3 (patch)
treebcd92ffde518651060bcab8fb93e6ef06a01cd2c /sql/ha_ndbcluster.cc
parentf0e3f8f1c2957ca2d17e50a1d7dc72cfa13b6c58 (diff)
downloadmariadb-git-154ffb3ff5e5b4bf5b15af261ac858ac59adf1f3.tar.gz
bug#21072 Duplicate key error in NDB references wrong key: Post-merge fixes
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index 55c45f6c687..a90f854f889 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -599,7 +599,6 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
const NDBINDEX *unique_index=
(const NDBINDEX *) m_index[i].unique_index;
if (unique_index &&
- unique_index->getIndexTable() &&
(uint) unique_index->getObjectId() == error_data)
{
dupkey= i;