diff options
author | unknown <heikki@donna.mysql.fi> | 2001-12-17 13:32:22 +0200 |
---|---|---|
committer | unknown <heikki@donna.mysql.fi> | 2001-12-17 13:32:22 +0200 |
commit | d7bd58687302c575b3eb34910be915da477ad87f (patch) | |
tree | ca20ad26b3e031bf13f80c776ef2c5486ed3591b /sql/ha_innobase.cc | |
parent | b41e57a70e48ae87d51cd1d7cc18a6ec8641d7ac (diff) | |
download | mariadb-git-d7bd58687302c575b3eb34910be915da477ad87f.tar.gz |
ha_innobase.cc, dict0dict.c:
Cleanup
innobase/dict/dict0dict.c:
Cleanup
sql/ha_innobase.cc:
Cleanup
Diffstat (limited to 'sql/ha_innobase.cc')
-rw-r--r-- | sql/ha_innobase.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_innobase.cc b/sql/ha_innobase.cc index 81c28605eb7..9bd25c67009 100644 --- a/sql/ha_innobase.cc +++ b/sql/ha_innobase.cc @@ -3042,8 +3042,8 @@ ha_innobase::estimate_number_of_rows(void) /* Calculate a minimum length for a clustered index record and from that an upper bound for the number of rows. Since we only calculate - new statistics in row0mysql.c when a table size has grown by 50 % - or by a threshold factor, we must add a safety factor 2 in front + new statistics in row0mysql.c when a tablehas grown + by a threshold factor, we must add a safety factor 2 in front of the formula below. */ estimate = 2 * data_file_length / dict_index_calc_min_rec_len(index); |