1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MariaRocks port: temporarily disable gap lock checking

Also provide handler::is_using_full_key
This commit is contained in:
Sergei Petrunia
2016-10-19 14:27:43 +00:00
parent fe0b57dfbe
commit 8c5912e9ee
3 changed files with 15 additions and 0 deletions

View File

@ -2704,6 +2704,14 @@ int handler::ha_index_first(uchar * buf)
return result;
}
bool handler::is_using_full_key(key_part_map keypart_map,
uint actual_key_parts)
{
return (keypart_map == HA_WHOLE_KEY) ||
(keypart_map == ((key_part_map(1) << actual_key_parts)
- 1));
}
int handler::ha_index_last(uchar * buf)
{
int result;