diff options
author | Monty <monty@mariadb.org> | 2017-12-28 11:47:03 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2017-12-28 11:47:03 +0200 |
commit | 14de2ad3cb4e1f8f48b83d5e9aafa4e3a366d152 (patch) | |
tree | 32004a225df11cc01b9151ac42bd113351250195 | |
parent | bbb8c9d77310860f3f81bfd8b824ce353271fb14 (diff) | |
download | mariadb-git-14de2ad3cb4e1f8f48b83d5e9aafa4e3a366d152.tar.gz |
Removed curr_bitmap_pos++ from possible macro
-rw-r--r-- | storage/rocksdb/rdb_datadic.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/rocksdb/rdb_datadic.cc b/storage/rocksdb/rdb_datadic.cc index df743ff0c48..f6f1406e80c 100644 --- a/storage/rocksdb/rdb_datadic.cc +++ b/storage/rocksdb/rdb_datadic.cc @@ -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 && !m_pack_info[i].m_covered) { 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) { /* It is possible to unpack this column. Do it. */ |