summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authorunknown <mskold/marty@mysql.com/quadfish.(none)>2007-12-07 14:06:44 +0100
committerunknown <mskold/marty@mysql.com/quadfish.(none)>2007-12-07 14:06:44 +0100
commitf3ccf7ea135e8d2979df594df3ac71766c85b3fd (patch)
tree1085a73c6c225741804fb9491f0bf98e2437e7b2 /sql/ha_ndbcluster.cc
parent122b464070998fdd88e0ac97e2d5b6f6dfec865f (diff)
downloadmariadb-git-f3ccf7ea135e8d2979df594df3ac71766c85b3fd.tar.gz
Removed illegal cast
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index fea50aeecdb..2d8df0f6a47 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -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;