From 52f82d52117fa7f76e1fd7204b8eaa1f757acd0b Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 3 Apr 2007 09:53:15 +0200 Subject: [PATCH] Bug #26783 replication status unknown after cluster or mysqld failure - correction, wrong datatype used --- sql/ha_ndbcluster.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {