List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:March 12 2010 3:32pm
Subject:bzr commit into mysql-5.1-telco-6.2 branch (jonas:3087)
View as plain text  
#At file:///home/jonas/src/telco-6.2/ based on revid:jonas@stripped

 3087 Jonas Oreland	2010-03-12
      ndb - fake-fix of bug-51289 causing compile warning

    modified:
      sql/item.cc
=== modified file 'sql/item.cc'
--- a/sql/item.cc	2010-03-12 06:06:23 +0000
+++ b/sql/item.cc	2010-03-12 14:32:53 +0000
@@ -7113,7 +7113,7 @@ double Item_cache_decimal::val_real()
   DBUG_ASSERT(fixed);
   double res;
   if (!value_cached && !cache_value())
-    return NULL;
+    return (double)0;
   my_decimal2double(E_DEC_FATAL_ERROR, &decimal_value, &res);
   return res;
 }


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20100312143253-1p2k861sk1cgom9h.bundle
Thread
bzr commit into mysql-5.1-telco-6.2 branch (jonas:3087)Jonas Oreland12 Mar 2010