summaryrefslogtreecommitdiff
path: root/storage/sphinx/ha_sphinx.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/sphinx/ha_sphinx.h')
-rw-r--r--storage/sphinx/ha_sphinx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/sphinx/ha_sphinx.h b/storage/sphinx/ha_sphinx.h
index 2a7191fc34d..3f517062cff 100644
--- a/storage/sphinx/ha_sphinx.h
+++ b/storage/sphinx/ha_sphinx.h
@@ -76,7 +76,8 @@ public:
virtual double scan_time () { return (double)( records+deleted )/20.0 + 10; } ///< called in test_quick_select to determine if indexes should be used
#endif
- virtual double read_time ( ha_rows rows ) { return (double)rows/20.0 + 1; } ///< index read time estimate
+ virtual double read_time(uint index, uint ranges, ha_rows rows)
+ { return (double)rows/20.0 + 1; } ///< index read time estimate
public:
int open ( const char * name, int mode, uint test_if_locked );