Loading innobase/dict/dict0dict.c +0 −2 Original line number Diff line number Diff line Loading @@ -2578,8 +2578,6 @@ dict_update_statistics_low( ulint size; ulint sum_of_index_sizes = 0; printf("Updating statistics for table %s\n", table->name); /* Find out the sizes of the indexes and how many different values for the key they approximately have */ Loading sql/ha_innobase.cc +2 −2 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
innobase/dict/dict0dict.c +0 −2 Original line number Diff line number Diff line Loading @@ -2578,8 +2578,6 @@ dict_update_statistics_low( ulint size; ulint sum_of_index_sizes = 0; printf("Updating statistics for table %s\n", table->name); /* Find out the sizes of the indexes and how many different values for the key they approximately have */ Loading
sql/ha_innobase.cc +2 −2 Original line number Diff line number Diff line Loading @@ -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); Loading