Commit 9532e822 authored by mskold/marty@quadfish.(none)'s avatar mskold/marty@quadfish.(none)

Merge mysql.com:/home/marty/MySQL/mysql-5.0-ndb

into  mysql.com:/home/marty/MySQL/mysql-5.1-new-ndb
parents 844936ab 4619caa5
...@@ -599,7 +599,7 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans) ...@@ -599,7 +599,7 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
const NDBINDEX *unique_index= const NDBINDEX *unique_index=
(const NDBINDEX *) m_index[i].unique_index; (const NDBINDEX *) m_index[i].unique_index;
if (unique_index && if (unique_index &&
(uint) unique_index->getObjectId() == (int) error_data) (char *) unique_index->getObjectId() == (int) error_data)
{ {
dupkey= i; dupkey= i;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment