summaryrefslogtreecommitdiff
path: root/sql/ha_heap.h
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-06-09 19:27:45 -0700
committerunknown <jimw@mysql.com>2005-06-09 19:27:45 -0700
commita3fe14096397ddd8ce7095aad9361c25090569ca (patch)
tree21b83bd4a16f0ba1a0620910f0f0e0e6e265983c /sql/ha_heap.h
parent967256ebd7d3214092535217f41cff0d7a7f6e60 (diff)
parentcec24f77462bdee9a6f042149953fe2466068259 (diff)
downloadmariadb-git-a3fe14096397ddd8ce7095aad9361c25090569ca.tar.gz
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
into mysql.com:/home/jimw/my/mysql-5.0-clean mysys/hash.c: Auto merged sql/ha_heap.h: Auto merged configure.in: Resolve conflicts from 4.1 mysql-test/r/heap.result: Update results mysql-test/t/heap.test: Merge from 4.1
Diffstat (limited to 'sql/ha_heap.h')
-rw-r--r--sql/ha_heap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_heap.h b/sql/ha_heap.h
index 5d50270ec5b..2aa065e0d96 100644
--- a/sql/ha_heap.h
+++ b/sql/ha_heap.h
@@ -57,6 +57,7 @@ public:
}
const key_map *keys_to_use_for_scanning() { return &btree_keys; }
uint max_supported_keys() const { return MAX_KEY; }
+ uint max_supported_key_part_length() const { return MAX_KEY_LENGTH; }
double scan_time() { return (double) (records+deleted) / 20.0+10; }
double read_time(uint index, uint ranges, ha_rows rows)
{ return (double) rows / 20.0+1; }