List:Commits« Previous MessageNext Message »
From:kent Date:September 28 2007 8:35pm
Subject:bk commit into 4.1 tree (kent:1.2685) BUG#30069
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of kent. When kent 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, 2007-09-28 22:35:48+02:00, kent@stripped +1 -0
  ctype-simple.c:
    Avoid undefined value when negating (bug#30069)

  strings/ctype-simple.c@stripped, 2007-09-28 22:33:23+02:00, kent@stripped +2 -2
    Avoid undefined value when negating (bug#30069)

diff -Nrup a/strings/ctype-simple.c b/strings/ctype-simple.c
--- a/strings/ctype-simple.c	2005-12-12 18:39:13 +01:00
+++ b/strings/ctype-simple.c	2007-09-28 22:33:23 +02:00
@@ -802,7 +802,7 @@ int my_long10_to_str_8bit(CHARSET_INFO *
   {
     if (val < 0)
     {
-      val= -val;
+      val= -(unsigned long int)val;
       *dst++= '-';
       len--;
       sign= 1;
@@ -838,7 +838,7 @@ int my_longlong10_to_str_8bit(CHARSET_IN
   {
     if (val < 0)
     {
-      val = -val;
+      val = -(ulonglong)val;
       *dst++= '-';
       len--;
       sign= 1;
Thread
bk commit into 4.1 tree (kent:1.2685) BUG#30069kent28 Sep