From 314a8bf1148adc35263971a674333c02a8081b93 Mon Sep 17 00:00:00 2001 From: "monty@mishka.local" <> Date: Sun, 16 May 2004 14:48:32 +0300 Subject: key_cmp -> key_cmp_if_same New records_in_range() interface (similar to read_range()) Macros for faster bitmap handling Simplify read_range() code (#WL1786) New general key_cmp() function to compare keys --- sql/ha_innodb.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sql/ha_innodb.h') diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h index 83a3edc4126..c585fd9c463 100644 --- a/sql/ha_innodb.h +++ b/sql/ha_innodb.h @@ -166,11 +166,7 @@ class ha_innobase: public handler int start_stmt(THD *thd); void position(byte *record); - ha_rows records_in_range(int inx, - const byte *start_key,uint start_key_len, - enum ha_rkey_function start_search_flag, - const byte *end_key,uint end_key_len, - enum ha_rkey_function end_search_flag); + ha_rows records_in_range(uint inx, key_range *min_key, key_range *max_key); ha_rows estimate_number_of_rows(); int create(const char *name, register TABLE *form, -- cgit v1.2.1