summaryrefslogtreecommitdiff
path: root/sql/ha_myisammrg.cc
diff options
context:
space:
mode:
authormonty@mishka.local <>2004-05-16 14:48:32 +0300
committermonty@mishka.local <>2004-05-16 14:48:32 +0300
commit314a8bf1148adc35263971a674333c02a8081b93 (patch)
tree318557f2fbc33b547d96f62b2544f2e9f4174082 /sql/ha_myisammrg.cc
parent565aa085a7b398d1ae6e06e628d8e43f052bba9d (diff)
downloadmariadb-git-314a8bf1148adc35263971a674333c02a8081b93.tar.gz
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
Diffstat (limited to 'sql/ha_myisammrg.cc')
-rw-r--r--sql/ha_myisammrg.cc16
1 files changed, 5 insertions, 11 deletions
diff --git a/sql/ha_myisammrg.cc b/sql/ha_myisammrg.cc
index 041d9eaead3..9aa6d039efb 100644
--- a/sql/ha_myisammrg.cc
+++ b/sql/ha_myisammrg.cc
@@ -199,20 +199,14 @@ void ha_myisammrg::position(const byte *record)
ha_store_ptr(ref, ref_length, (my_off_t) position);
}
-ha_rows ha_myisammrg::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 ha_myisammrg::records_in_range(uint inx, key_range *min_key,
+ key_range *max_key)
{
- return (ha_rows) myrg_records_in_range(file,
- inx,
- start_key,start_key_len,
- start_search_flag,
- end_key,end_key_len,
- end_search_flag);
+ return (ha_rows) myrg_records_in_range(file, (int) inx, min_key, max_key);
}
+
void ha_myisammrg::info(uint flag)
{
MYMERGE_INFO info;