mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
cleanup: MY_BITMAP mutex
in about a hundred of users of MY_BITMAP, only two were using its built-in mutex, and only one of those two was actually needing it. Remove the mutex from MY_BITMAP, remove all associated conditions and checks in bitmap functions. Use an external LOCK_temp_pool mutex and temp_pool_set_next/temp_pool_clear_bit acccessors. Remove bitmap_init/bitmap_free, always use my_* versions.
This commit is contained in:
@@ -26,7 +26,7 @@ namespace mrn {
|
||||
|
||||
SmartBitmap::~SmartBitmap() {
|
||||
if (bitmap_) {
|
||||
bitmap_free(bitmap_);
|
||||
my_bitmap_free(bitmap_);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user