mariadb compiled with UNIV_DEBUG
When starting mariadb, the log mentions:
2021-12-05 20:49:45 0 [Note] InnoDB: !!!!!!!! UNIV_DEBUG switched on !!!!!!!!!
This apparently has a impact on performance. This is possibly caused by CMAKE_BUILDTYPE=none
.
storage/innobase/innodb.cmake contains:
# Enable InnoDB's UNIV_DEBUG in debug builds
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DUNIV_DEBUG")