diff options
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h index d795502600f..18468268077 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -928,6 +928,10 @@ public: */ virtual double scan_time(); + virtual double key_scan_time(uint inx); + + virtual double keyread_time(uint inx, uint ranges, ha_rows rows); + /* The next method will never be called if you do not implement indexes. */ @@ -1056,10 +1060,6 @@ public: with hidden primary key) (No handler has this limitation currently) - HA_WANTS_PRIMARY_KEY: - Can't define a table without primary key except sequences - (Only InnoDB has this when using innodb_force_primary_key == ON) - HA_STATS_RECORDS_IS_EXACT: Does the counter of records after the info call specify an exact value or not. If it does this flag is set. @@ -1443,6 +1443,9 @@ public: void append_row_to_str(String &str); public: + virtual int pre_calculate_checksum(); + virtual int calculate_checksum(); + /* Enabled keycache for performance reasons, WL#4571 */ virtual int assign_to_keycache(THD* thd, HA_CHECK_OPT *check_opt); virtual int preload_keys(THD* thd, HA_CHECK_OPT* check_opt); |