1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

compatibility fixes

mysql-test/r/show_check.result:
  results updated
sql/opt_range.cc:
  wrong (I believe :) cast fixed
This commit is contained in:
unknown
2004-07-27 00:00:01 +02:00
parent 5ecc5a2cff
commit f06c397dd0
2 changed files with 1 additions and 9 deletions

View File

@ -1759,7 +1759,7 @@ double get_sweep_read_cost(const PARAM *param, ha_rows records)
else
{
double n_blocks=
ceil((double)((longlong)param->table->file->data_file_length / IO_SIZE));
ceil((double)param->table->file->data_file_length / IO_SIZE);
double busy_blocks=
n_blocks * (1.0 - pow(1.0 - 1.0/n_blocks, rows2double(records)));
if (busy_blocks < 1.0)