List:Internals« Previous MessageNext Message »
From:jani Date:September 28 2005 11:12am
Subject:bk commit into 5.0 tree (jani:1.2002)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of jani. When jani 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.2002 05/09/28 14:12:44 jani@stripped +1 -0
  Added a cast. Fix for Metrowerks compiler.

  strings/decimal.c
    1.62 05/09/28 14:12:37 jani@stripped +1 -1
    Added a cast. Fix for Metrowerks compiler.

# 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:	jani
# Host:	a193-229-222-105.elisa-laajakaista.fi
# Root:	/home/my/bk/mysql-5.0-tmp

--- 1.61/strings/decimal.c	2005-09-04 18:59:55 +03:00
+++ 1.62/strings/decimal.c	2005-09-28 14:12:37 +03:00
@@ -1033,7 +1033,7 @@
   {
     ulonglong y=x;
     x=x*DIG_BASE + *buf++;
-    if (unlikely(y > (ULONGLONG_MAX/DIG_BASE) || x < y))
+    if (unlikely(y > ((ulonglong) ULONGLONG_MAX/DIG_BASE) || x < y))
     {
       *to=y;
       return E_DEC_OVERFLOW;
Thread
bk commit into 5.0 tree (jani:1.2002)jani28 Sep