Commit 4931d5ca authored by unknown's avatar unknown

Removed illegal cast

parent 28d26808
...@@ -552,7 +552,7 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans) ...@@ -552,7 +552,7 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
(const NDBINDEX *) m_index[i].unique_index; (const NDBINDEX *) m_index[i].unique_index;
if (unique_index && if (unique_index &&
unique_index->getIndexTable() && unique_index->getIndexTable() &&
unique_index->getIndexTable()->getTableId() == (int) error_data) (char *) unique_index->getIndexTable()->getTableId() == 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