Commit 2b1085e4 authored by heikki@donna.mysql.fi's avatar heikki@donna.mysql.fi
Browse files

ha_innobase.cc mean_rec_length was set to a too small value for > 4 GB tables...

ha_innobase.cc	mean_rec_length was set to a too small value for > 4 GB tables because of a wrong typecast
parent b6892306
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2844,7 +2844,7 @@ ha_innobase::info(
    		if (records == 0) {
    			mean_rec_length = 0;
    		} else {
    			mean_rec_length = (ulong) data_file_length / records;
    			mean_rec_length = (ulong) (data_file_length / records);
    		}
    	}