summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-09-24 09:18:07 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-09-24 09:18:07 +0300
commit37a074f6c35af22f403b3e1d150c17e8ab07f164 (patch)
tree8171d8d4e54ea60e46585eeaa58c5a40a0996aa4
parentb740b2356d539a27f8a7a9e9b6455f31bc6c9196 (diff)
downloadmariadb-git-37a074f6c35af22f403b3e1d150c17e8ab07f164.tar.gz
MDEV-26467 fixup: Fix cmake -DWITH_UNIT_TESTS=ON for SUX_LOCK_GENERIC
-rw-r--r--storage/innobase/sync/srw_lock.cc8
1 files changed, 8 insertions, 0 deletions
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<false>::destroy();
template void ssux_lock_impl<false>::rd_unlock();
template void ssux_lock_impl<false>::u_unlock();
template void ssux_lock_impl<false>::wr_unlock();
+template void ssux_lock_impl<true>::init();
+template void ssux_lock_impl<true>::destroy();
+template void ssux_lock_impl<true>::read_lock(uint32_t);
+template void ssux_lock_impl<true>::rd_unlock();
+template void ssux_lock_impl<true>::u_unlock();
+template void ssux_lock_impl<true>::wr_unlock();
+template void ssux_lock_impl<true>::write_lock(bool);
+template void ssux_lock_impl<true>::update_lock(uint32_t);
#else /* SUX_LOCK_GENERIC */
static_assert(4 == sizeof(rw_lock), "ABI");
# ifdef _WIN32