Removed illegal cast

parent 9532e822
......@@ -599,7 +599,7 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
const NDBINDEX *unique_index=
(const NDBINDEX *) m_index[i].unique_index;
if (unique_index &&
(char *) unique_index->getObjectId() == (int) error_data)
(char *) unique_index->getObjectId() == error_data)
{
dupkey= i;
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