Kouhei Sutou
null+****@clear*****
Fri Nov 16 16:17:30 JST 2012
Kouhei Sutou 2012-11-16 16:17:30 +0900 (Fri, 16 Nov 2012) New Revision: cb629f41d99e42f405c858c302a6a6238222d817 https://github.com/mroonga/mroonga/commit/cb629f41d99e42f405c858c302a6a6238222d817 Log: Remove a needless cast Modified files: ha_mroonga.cpp Modified: ha_mroonga.cpp (+1 -1) =================================================================== --- ha_mroonga.cpp 2012-11-16 16:14:05 +0900 (3f11242) +++ ha_mroonga.cpp 2012-11-16 16:17:30 +0900 (ab13fc4) @@ -6122,7 +6122,7 @@ ha_rows ha_mroonga::storage_records_in_range(uint key_nr, key_range *range_min, } grn_obj_unlink(ctx, index_cursor); grn_table_cursor_close(ctx, cursor); - row_count = (int)(ceil((double)table_size * ((double)row_count / (double)cardinality))); + row_count = ceil((double)table_size * ((double)row_count / (double)cardinality)); } DBUG_RETURN(row_count); } -------------- next part -------------- HTML����������������������������... ダウンロード