summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index e4b3be5dbe0..f2bf25e6a75 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -2250,7 +2250,7 @@ char *get_field(MEM_ROOT *mem, Field *field)
that are present in this value, returns the length of the value
*/
uint calculate_key_len(TABLE *table, uint key, const byte *buf,
- ulonglong keypart_map)
+ key_part_map keypart_map)
{
/* works only with key prefixes */
DBUG_ASSERT(((keypart_map + 1) & keypart_map) == 0);