Commit 1c930e83 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:1999], fix 32 bit compiler issue

git-svn-id: file:///svn/mysql/tokudb-engine/src@14442 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0d3e493b
...@@ -3965,7 +3965,7 @@ int ha_tokudb::info(uint flag) { ...@@ -3965,7 +3965,7 @@ int ha_tokudb::info(uint flag) {
if (error) { goto cleanup; } if (error) { goto cleanup; }
stats.data_file_length = dict_stats.bt_dsize; stats.data_file_length = dict_stats.bt_dsize;
stats.mean_rec_length = stats.records ? stats.data_file_length/stats.records : 0; stats.mean_rec_length = stats.records ? (ulong)(stats.data_file_length/stats.records) : 0;
stats.index_file_length = 0; stats.index_file_length = 0;
for (uint i = 0; i < curr_num_DBs; i++) { for (uint i = 0; i < curr_num_DBs; i++) {
if (i == primary_key) { if (i == primary_key) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment