summaryrefslogtreecommitdiff
path: root/sql/ha_heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/ha_heap.h')
-rw-r--r--sql/ha_heap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/ha_heap.h b/sql/ha_heap.h
index fe874dab3f2..c369c7029b4 100644
--- a/sql/ha_heap.h
+++ b/sql/ha_heap.h
@@ -53,8 +53,9 @@ class ha_heap: public handler
uint max_keys() const { return MAX_KEY; }
uint max_key_parts() const { return MAX_REF_PARTS; }
uint max_key_length() const { return HA_MAX_REC_LENGTH; }
- virtual double scan_time() { return (double) (records+deleted) / 20.0+10; }
- virtual double read_time(ha_rows rows) { return (double) rows / 20.0+1; }
+ 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; }
virtual bool fast_key_read() { return 1;}
int open(const char *name, int mode, uint test_if_locked);