List:Commits« Previous MessageNext Message »
From:Ole John Aske Date:February 28 2011 1:46pm
Subject:bzr push into mysql-5.1-telco-7.0 branch (ole.john.aske:4235 to 4236)
View as plain text  
 4236 Ole John Aske	2011-02-28
      Yey another attempt to fix Windows compiler warnings

    modified:
      sql/ha_ndbcluster.cc
 4235 Ole John Aske	2011-02-28
      Fixed compiler warnings introduced by last push.

    modified:
      sql/ha_ndbcluster.cc
=== modified file 'sql/ha_ndbcluster.cc'
--- a/sql/ha_ndbcluster.cc	2011-02-28 11:38:19 +0000
+++ b/sql/ha_ndbcluster.cc	2011-02-28 13:46:09 +0000
@@ -11256,7 +11256,7 @@ ha_ndbcluster::records_in_range(uint inx
         if (eq_fraction >= 1.0)        // Exact match -> 1 row
           DBUG_RETURN(1);
 
-        rows = (Uint64)((double)table_rows / pow(table_rows, eq_fraction));
+        rows = (Uint64)((double)table_rows / pow((double)table_rows, eq_fraction));
         if (rows > (table_rows/50))    // EQ-range: Max 2% of rows
           rows= (table_rows/50);
 

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.1-telco-7.0 branch (ole.john.aske:4235 to 4236) Ole John Aske28 Feb