List:Commits« Previous MessageNext Message »
From:holyfoot Date:May 8 2007 8:42am
Subject:bk commit into 5.1 tree (holyfoot:1.2510)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of hf. When hf 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-05-08 11:42:40+05:00, holyfoot@stripped +1 -0
  warning eliminated

  sql/item_func.cc@stripped, 2007-05-08 11:42:38+05:00, holyfoot@stripped +2 -2
    warning eliminated

# 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:	holyfoot
# Host:	hfmain.(none)
# Root:	/d2/hf/mrg/mysql-5.1-opt

--- 1.385/sql/item_func.cc	2007-05-08 11:42:45 +05:00
+++ 1.386/sql/item_func.cc	2007-05-08 11:42:45 +05:00
@@ -2371,7 +2371,7 @@ longlong Item_func_min_max::val_int()
   longlong value=0;
   if (compare_as_dates)
   {
-    ulonglong result;
+    ulonglong result= 0;
     (void)cmp_datetimes(&result);
     return (longlong)result;
   }
@@ -2400,7 +2400,7 @@ my_decimal *Item_func_min_max::val_decim
 
   if (compare_as_dates)
   {
-    ulonglong value;
+    ulonglong value= 0;
     (void)cmp_datetimes(&value);
     ulonglong2decimal(value, dec);
     return dec;
Thread
bk commit into 5.1 tree (holyfoot:1.2510)holyfoot8 May