diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index 6866111a48f..713b041bf07 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -4148,7 +4148,7 @@ static int ndbcluster_update_apply_status(THD *thd, int do_update) r|= op->writeTuple(); DBUG_ASSERT(r == 0); // server_id - r|= op->equal(0u, (Uint64)thd->server_id); + r|= op->equal(0u, (Uint32)thd->server_id); DBUG_ASSERT(r == 0); if (!do_update) {