mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
MDEV-8492: Windows builds fail on current 10.1
In non-wsrep builds, wsrep_running_threads should be defined to (0).
This commit is contained in:
@@ -1901,13 +1901,11 @@ static void __cdecl kill_server(int sig_ptr)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WITH_WSREP
|
|
||||||
/* Stop wsrep threads in case they are running. */
|
/* Stop wsrep threads in case they are running. */
|
||||||
if (wsrep_running_threads > 0)
|
if (wsrep_running_threads > 0)
|
||||||
{
|
{
|
||||||
wsrep_stop_replication(NULL);
|
wsrep_stop_replication(NULL);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
close_connections();
|
close_connections();
|
||||||
|
|
||||||
|
@@ -340,6 +340,7 @@ int wsrep_create_trigger_query(THD *thd, uchar** buf, size_t* buf_len);
|
|||||||
#define wsrep_replicate_myisam (0)
|
#define wsrep_replicate_myisam (0)
|
||||||
#define wsrep_thr_init() do {} while(0)
|
#define wsrep_thr_init() do {} while(0)
|
||||||
#define wsrep_thr_deinit() do {} while(0)
|
#define wsrep_thr_deinit() do {} while(0)
|
||||||
|
#define wsrep_running_threads (0)
|
||||||
|
|
||||||
#endif /* WITH_WSREP */
|
#endif /* WITH_WSREP */
|
||||||
#endif /* WSREP_MYSQLD_H */
|
#endif /* WSREP_MYSQLD_H */
|
||||||
|
Reference in New Issue
Block a user