From 727ffbf37613c516cdb78d32b4ebd23cec4c83aa Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 22 Dec 2006 09:59:27 +0800 Subject: ndb - fixed for BUG#19896 Last_Errno: 4294967295, Error in Write_rows event: (error number 4 billion ?) fixed to use int instead of uint32 type to return last_slave_errno. sql/log_event.cc: don't set -1 to last_slave_errno. sql/protocol.h: added function store(int from) to return last_slave_errno. sql/slave.cc: should use int instead of uint32 type to return last_slave_errno. --- sql/slave.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/slave.cc') diff --git a/sql/slave.cc b/sql/slave.cc index 5d871a64347..5b338747397 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -2237,7 +2237,7 @@ bool show_master_info(THD* thd, MASTER_INFO* mi) rpl_filter->get_wild_ignore_table(&tmp); protocol->store(&tmp); - protocol->store((uint32) mi->rli.last_slave_errno); + protocol->store(mi->rli.last_slave_errno); protocol->store(mi->rli.last_slave_error, &my_charset_bin); protocol->store((uint32) mi->rli.slave_skip_counter); protocol->store((ulonglong) mi->rli.group_master_log_pos); -- cgit v1.2.1