#At file:///net/fimafeng09/export/home/tmp/oleja/mysql/mysql-5.1-telco-7.0/ based on revid:ole.john.aske@stripped
4236 Ole John Aske 2011-02-28
Yey another attempt to fix Windows compiler warnings
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);
Attachment: [text/bzr-bundle] bzr/ole.john.aske@oracle.com-20110228134609-ikd6grhuz4zr7hwb.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-7.0 branch (ole.john.aske:4236) | Ole John Aske | 28 Feb |