1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Removed curr_bitmap_pos++ from possible macro

This commit is contained in:
Monty
2017-12-28 11:47:03 +02:00
parent bbb8c9d773
commit 14de2ad3cb

View File

@@ -1461,7 +1461,8 @@ int Rdb_key_def::unpack_record(TABLE *const table, uchar *const buf,
if (has_covered_bitmap && field->real_type() == MYSQL_TYPE_VARCHAR && if (has_covered_bitmap && field->real_type() == MYSQL_TYPE_VARCHAR &&
!m_pack_info[i].m_covered) { !m_pack_info[i].m_covered) {
covered_column = curr_bitmap_pos < MAX_REF_PARTS && covered_column = curr_bitmap_pos < MAX_REF_PARTS &&
bitmap_is_set(&covered_bitmap, curr_bitmap_pos++); bitmap_is_set(&covered_bitmap, curr_bitmap_pos);
curr_bitmap_pos++;
} }
if (fpi->m_unpack_func && covered_column) { if (fpi->m_unpack_func && covered_column) {
/* It is possible to unpack this column. Do it. */ /* It is possible to unpack this column. Do it. */