From 37a074f6c35af22f403b3e1d150c17e8ab07f164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Fri, 24 Sep 2021 09:18:07 +0300 Subject: MDEV-26467 fixup: Fix cmake -DWITH_UNIT_TESTS=ON for SUX_LOCK_GENERIC --- storage/innobase/sync/srw_lock.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/storage/innobase/sync/srw_lock.cc b/storage/innobase/sync/srw_lock.cc index 4cd4b56bdd0..f3c0afd64e3 100644 --- a/storage/innobase/sync/srw_lock.cc +++ b/storage/innobase/sync/srw_lock.cc @@ -223,6 +223,14 @@ template void ssux_lock_impl::destroy(); template void ssux_lock_impl::rd_unlock(); template void ssux_lock_impl::u_unlock(); template void ssux_lock_impl::wr_unlock(); +template void ssux_lock_impl::init(); +template void ssux_lock_impl::destroy(); +template void ssux_lock_impl::read_lock(uint32_t); +template void ssux_lock_impl::rd_unlock(); +template void ssux_lock_impl::u_unlock(); +template void ssux_lock_impl::wr_unlock(); +template void ssux_lock_impl::write_lock(bool); +template void ssux_lock_impl::update_lock(uint32_t); #else /* SUX_LOCK_GENERIC */ static_assert(4 == sizeof(rw_lock), "ABI"); # ifdef _WIN32 -- cgit v1.2.1