List:Internals« Previous MessageNext Message »
From:Sergey Petrunia Date:April 29 2005 11:05pm
Subject:bk commit into 4.1 tree (sergefp:1.2220) BUG#10274
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of psergey. When psergey 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
  1.2220 05/04/30 01:05:15 sergefp@stripped +1 -0
  Fix for BUG#10274: In Protocol_simple::store_long don't make any assumptions about 
  relative sizes of int/long/longlong.
   

  sql/protocol.cc
    1.100 05/04/30 01:05:12 sergefp@stripped +1 -1
    Fix for BUG#10274: In Protocol_simple::store_long don't make any assumptions about 
    relative sizes of int/long/longlong.
     

# 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:	sergefp
# Host:	newbox.mylan
# Root:	/home/psergey/mysql-4.1-bug9228

--- 1.99/sql/protocol.cc	2005-04-18 07:26:20 +04:00
+++ 1.100/sql/protocol.cc	2005-04-30 01:05:12 +04:00
@@ -810,7 +810,7 @@
 #endif
   char buff[20];
   return net_store_data((char*) buff,
-			(uint) (int10_to_str((int)from,buff, (from <0)?-10:10)-buff));
+			(uint) (int10_to_str((long int)from,buff, (from <0)?-10:10)-buff));
 }
 
 
Thread
bk commit into 4.1 tree (sergefp:1.2220) BUG#10274Sergey Petrunia29 Apr