summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.h
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2004-09-13 06:14:25 +0400
committerunknown <sergefp@mysql.com>2004-09-13 06:14:25 +0400
commitb28118abfb0cd05e7172a20842bcdce39f49791a (patch)
tree9ecce886341d7871fcdae98f906e14129bb3af0d /sql/ha_innodb.h
parent3f70b62cebfbaa0e93ea5f378167d9d3e7b02a91 (diff)
downloadmariadb-git-b28118abfb0cd05e7172a20842bcdce39f49791a.tar.gz
Fix for BUG#5117:
* Renamed handler::estimate_number_of_rows to handler::estimate_rows_upper_bound function, which can also return "unknown" * made filesort to use full sort buffer if number of rows to sort is not known. sql/examples/ha_tina.h: Renamed estimate_number_of_rows -> estimate_rows_upper_bound sql/filesort.cc: * Fix for BUG#5117: made filesort() to use full sort buffer if number of rows to sort is not known. * Comments and assertion added sql/ha_berkeley.cc: Renamed estimate_number_of_rows -> estimate_rows_upper_bound sql/ha_berkeley.h: Renamed estimate_number_of_rows -> estimate_rows_upper_bound sql/ha_innodb.cc: Renamed estimate_number_of_rows -> estimate_rows_upper_bound sql/ha_innodb.h: Renamed estimate_number_of_rows -> estimate_rows_upper_bound sql/handler.h: Renamed estimate_number_of_rows -> estimate_rows_upper_bound
Diffstat (limited to 'sql/ha_innodb.h')
-rw-r--r--sql/ha_innodb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h
index 6556931fa1a..fa6c8a90d21 100644
--- a/sql/ha_innodb.h
+++ b/sql/ha_innodb.h
@@ -150,7 +150,7 @@ class ha_innobase: public handler
void position(byte *record);
ha_rows records_in_range(uint inx, key_range *min_key, key_range *max_key);
- ha_rows estimate_number_of_rows();
+ ha_rows estimate_rows_upper_bound();
int create(const char *name, register TABLE *form,
HA_CREATE_INFO *create_info);