summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authorunknown <mskold/marty@mysql.com/quadfish.(none)>2007-12-07 10:33:50 +0100
committerunknown <mskold/marty@mysql.com/quadfish.(none)>2007-12-07 10:33:50 +0100
commit8db8ab33f6b925f54143b9dbd5d9df40a6b26f3e (patch)
tree76b7df7129dd9db3cc63902a67ae2feedc409ec5 /sql/ha_ndbcluster.cc
parentf9bae745058e8eeb27c8a55744effb8afc38474b (diff)
downloadmariadb-git-8db8ab33f6b925f54143b9dbd5d9df40a6b26f3e.tar.gz
bug#21072 Duplicate key error in NDB references wrong key: Post-review fixes
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index 478347e4175..147aeeb24a8 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -543,7 +543,6 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
uint error_data= (uint) err.details;
uint dupkey= MAX_KEY;
- DBUG_PRINT("info", ("HA_ERR_FOUND_DUPP_KEY, index table %u", error_data));
for (uint i= 0; i < MAX_KEY; i++)
{
if (m_index[i].type == UNIQUE_INDEX ||
@@ -555,7 +554,6 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
unique_index->getIndexTable() &&
(uint) unique_index->getIndexTable()->getTableId() == error_data)
{
- DBUG_PRINT("info", ("Found violated key %u", i));
dupkey= i;
break;
}