MDEV-28049 Error on compiling trx0purge.cc
In commit 83212632 the trx_rseg_latch was instrumented for performance_schema, but some acqusitions of rd_lock() were not adjusted. Thus, the build would fail on platforms where a futex-based rw-lock is not available (SUX_LOCK_GENERIC) unless the code was built with cmake -DPLUGIN_PERFSCHEMA=NO.
Showing
Please register or sign in to comment