summaryrefslogtreecommitdiff
path: root/storage/example/ha_example.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/example/ha_example.h')
-rw-r--r--storage/example/ha_example.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/example/ha_example.h b/storage/example/ha_example.h
index ec3987ced5d..f67235eefd1 100644
--- a/storage/example/ha_example.h
+++ b/storage/example/ha_example.h
@@ -155,7 +155,8 @@ public:
/** @brief
This method will never be called if you do not implement indexes.
*/
- virtual double read_time(ha_rows rows) { return (double) rows / 20.0+1; }
+ virtual double read_time(uint index, uint ranges, ha_rows rows)
+ { return (double) rows / 20.0+1; }
/*
Everything below are methods that we implement in ha_example.cc.