Bug#14495351: CRASH IN HA_PARTITION::HANDLE_UNORDERED_NEXT

Follow-up patch - Fix broken build:
error: format ‘%u’ expects argument of type ‘unsigned int’,
but argument 2 has type ‘key_part_map {aka long unsigned int}’
[-Werror=format]
This commit is contained in:
Jon Olav Hauglid 2012-10-03 15:00:43 +02:00
parent 8ce6582c37
commit 2943c8131a

View file

@ -4476,7 +4476,7 @@ int ha_partition::common_index_read(uchar *buf, bool have_start_key)
m_start_key.length= key_len= calculate_key_len(table, active_index,
m_start_key.key,
m_start_key.keypart_map);
DBUG_PRINT("info", ("have_start_key map %u find_flag %u len %u",
DBUG_PRINT("info", ("have_start_key map %lu find_flag %u len %u",
m_start_key.keypart_map, m_start_key.flag, key_len));
DBUG_ASSERT(key_len);
}