diff --git a/storage/xtradb/os/os0sync.c b/storage/xtradb/os/os0sync.c index 75bd6d44c2eff23aca4216394a43e56018f9171a..12153c309c0305d48b28c906c79bed6e4329fa07 100644 --- a/storage/xtradb/os/os0sync.c +++ b/storage/xtradb/os/os0sync.c @@ -274,6 +274,8 @@ os_cond_module_init(void) #ifdef __WIN__ HMODULE h_dll; + if (!srv_use_native_conditions) + return; h_dll = GetModuleHandle("kernel32");