diff options
author | mskold/marty@mysql.com/quadfish.(none) <> | 2007-12-07 10:33:50 +0100 |
---|---|---|
committer | mskold/marty@mysql.com/quadfish.(none) <> | 2007-12-07 10:33:50 +0100 |
commit | fc6f839b03932fc527b16f7c78d5d3317cb903ed (patch) | |
tree | 76b7df7129dd9db3cc63902a67ae2feedc409ec5 /sql/ha_ndbcluster.cc | |
parent | 27c025061d8bd3478ea4bd2512dbf2e4ca0c56db (diff) | |
download | mariadb-git-fc6f839b03932fc527b16f7c78d5d3317cb903ed.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.cc | 2 |
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; } |