summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.h
diff options
context:
space:
mode:
authorsergefp@mysql.com <>2004-09-13 06:14:25 +0400
committersergefp@mysql.com <>2004-09-13 06:14:25 +0400
commit13fdbc99cf35dbc8a0c148ae206f70110c7f0280 (patch)
tree9ecce886341d7871fcdae98f906e14129bb3af0d /sql/ha_berkeley.h
parent0afcaac5a8178cc7f9befdde1714fa84200293d7 (diff)
downloadmariadb-git-13fdbc99cf35dbc8a0c148ae206f70110c7f0280.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.
Diffstat (limited to 'sql/ha_berkeley.h')
-rw-r--r--sql/ha_berkeley.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_berkeley.h b/sql/ha_berkeley.h
index 5cba3bebf10..25d3e128502 100644
--- a/sql/ha_berkeley.h
+++ b/sql/ha_berkeley.h
@@ -100,7 +100,7 @@ class ha_berkeley: public handler
ulong table_flags(void) const { return int_table_flags; }
uint max_supported_keys() const { return MAX_KEY-1; }
uint extra_rec_buf_length() { return BDB_HIDDEN_PRIMARY_KEY_LENGTH; }
- ha_rows estimate_number_of_rows();
+ ha_rows estimate_rows_upper_bound();
const key_map *keys_to_use_for_scanning() { return &key_map_full; }
bool has_transactions() { return 1;}