List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:March 13 2010 9:55am
Subject:bzr push into mysql-5.1-telco-7.0 branch (jonas:3444 to 3445)
View as plain text  
 3445 Jonas Oreland	2010-03-13 [merge]
      merge 63 to 70

    modified:
      mysql-test/suite/ndb/t/ndb_tmp_table_and_DDL.test
      sql/item.cc
 3444 Jonas Oreland	2010-03-12 [merge]
      ndb - post merge 5.1.44 fixes into 6.4

    modified:
      mysql-test/suite/rpl/t/disabled.def
      mysql-test/suite/rpl_ndb/t/disabled.def
      sql/sql_yacc.yy
=== modified file 'mysql-test/suite/ndb/t/ndb_tmp_table_and_DDL.test'
--- a/mysql-test/suite/ndb/t/ndb_tmp_table_and_DDL.test	2010-01-22 09:38:21 +0000
+++ b/mysql-test/suite/ndb/t/ndb_tmp_table_and_DDL.test	2010-03-13 08:50:33 +0000
@@ -6,6 +6,8 @@
 #
 
 source include/have_ndb.inc;
+# test uses event scheduler, hence not embedded
+source include/not_embedded.inc
 
 LET $ENGINE_TYPE= NDB;
 source extra/rpl_tests/rpl_tmp_table_and_DDL.test;

=== 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-20100313085345-b77xg5syioluuc90.bundle
Thread
bzr push into mysql-5.1-telco-7.0 branch (jonas:3444 to 3445)Jonas Oreland13 Mar 2010