summaryrefslogtreecommitdiff
path: root/sql/ha_partition.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r--sql/ha_partition.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h
index 2d43e2b0df2..a081e4bb472 100644
--- a/sql/ha_partition.h
+++ b/sql/ha_partition.h
@@ -384,8 +384,8 @@ public:
any end processing needed.
*/
virtual int index_read(byte * buf, const byte * key,
- ulonglong keypart_map,
- enum ha_rkey_function find_flag);
+ key_part_map keypart_map,
+ enum ha_rkey_function find_flag);
virtual int index_init(uint idx, bool sorted);
virtual int index_end();
@@ -399,7 +399,7 @@ public:
virtual int index_last(byte * buf);
virtual int index_next_same(byte * buf, const byte * key, uint keylen);
virtual int index_read_last(byte * buf, const byte * key,
- ulonglong keypart_map);
+ key_part_map keypart_map);
/*
read_first_row is virtual method but is only implemented by
@@ -425,7 +425,8 @@ public:
private:
int common_index_read(byte * buf, const byte * key,
- ulonglong keypart_map, enum ha_rkey_function find_flag);
+ key_part_map keypart_map,
+ enum ha_rkey_function find_flag);
int common_first_last(byte * buf);
int partition_scan_set_up(byte * buf, bool idx_read_flag);
int handle_unordered_next(byte * buf, bool next_same);