Commit 3b51dff2 authored by unknown's avatar unknown

Removed illegal cast

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