List:Commits« Previous MessageNext Message »
From:David Li Date:November 23 2006 2:47am
Subject:bk commit into 5.1 tree (dli:1.2320) BUG#19896
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of dli. When dli does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2006-11-23 09:47:18+08:00, dli@stripped +2 -0
  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/protocol.h@stripped, 2006-11-23 09:47:15+08:00, dli@stripped +2 -0
    added function store(int from) to return last_slave_errno.

  sql/slave.cc@stripped, 2006-11-23 09:47:15+08:00, dli@stripped +1 -1
    should use int instead of uint32 type to return last_slave_errno.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	dli
# Host:	dev3-76.dev.cn.tlan
# Root:	/home/dli/mysql/mysql-5.1/mysql-5.1-bug-19896

--- 1.287/sql/slave.cc	2006-11-23 09:47:26 +08:00
+++ 1.288/sql/slave.cc	2006-11-23 09:47:26 +08:00
@@ -2237,7 +2237,7 @@
     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);

--- 1.33/sql/protocol.h	2006-11-23 09:47:26 +08:00
+++ 1.34/sql/protocol.h	2006-11-23 09:47:26 +08:00
@@ -59,6 +59,8 @@
   String *storage_packet() { return packet; }
   inline void free() { packet->free(); }
   virtual bool write();
+  inline  bool store(int from)
+  { return store_long((longlong) from); }
   inline  bool store(uint32 from)
   { return store_long((longlong) from); }
   inline  bool store(longlong from)
Thread
bk commit into 5.1 tree (dli:1.2320) BUG#19896David Li23 Nov