Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff -ru a/storage/innobase/include/buf0types.h b/storage/innobase/include/buf0types.h
2--- a/storage/innobase/include/buf0types.h 2021-11-17 02:37:32.000000000 -0500
3+++ b/storage/innobase/include/buf0types.h 2021-11-17 02:38:50.000000000 -0500
4@@ -179,7 +179,7 @@
5 #include "sux_lock.h"
6
7 #ifdef SUX_LOCK_GENERIC
8-class page_hash_latch : private rw_lock
9+class page_hash_latch : public rw_lock
10 {
11 /** Wait for a shared lock */
12 void read_lock_wait();