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

fixup MDEV-17556: fix mroonga

This commit is contained in:
Nikita Malyavin
2021-01-08 22:09:26 +10:00
parent bdae8bb6fd
commit c88fcf07d9
3 changed files with 19 additions and 19 deletions

View File

@@ -20,17 +20,17 @@
#include "mrn_debug_column_access.hpp"
namespace mrn {
DebugColumnAccess::DebugColumnAccess(TABLE *table, MY_BITMAP *bitmap)
DebugColumnAccess::DebugColumnAccess(TABLE *table, MY_BITMAP **bitmap)
: table_(table),
bitmap_(bitmap) {
#ifdef DBUG_ASSERT_EXISTS
map_ = dbug_tmp_use_all_columns(table_, &bitmap_);
map_ = dbug_tmp_use_all_columns(table_, bitmap_);
#endif
}
DebugColumnAccess::~DebugColumnAccess() {
#ifdef DBUG_ASSERT_EXISTS
dbug_tmp_restore_column_map(&bitmap_, map_);
dbug_tmp_restore_column_map(bitmap_, map_);
#endif
}
}