mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
fix signed/unsigned mismatch on Windows
This commit is contained in:
parent
d49f8e9f05
commit
f082c7557e
1 changed files with 2 additions and 2 deletions
|
@ -2589,8 +2589,8 @@ DECLARE_THREAD(srv_worker_thread)(
|
||||||
slot = srv_reserve_slot(SRV_WORKER);
|
slot = srv_reserve_slot(SRV_WORKER);
|
||||||
|
|
||||||
ut_a(srv_n_purge_threads > 1);
|
ut_a(srv_n_purge_threads > 1);
|
||||||
ut_a(my_atomic_loadlint(&srv_sys.n_threads_active[SRV_WORKER])
|
ut_a(ulong(my_atomic_loadlint(&srv_sys.n_threads_active[SRV_WORKER]))
|
||||||
< static_cast<lint>(srv_n_purge_threads));
|
< srv_n_purge_threads);
|
||||||
|
|
||||||
/* We need to ensure that the worker threads exit after the
|
/* We need to ensure that the worker threads exit after the
|
||||||
purge coordinator thread. Otherwise the purge coordinator can
|
purge coordinator thread. Otherwise the purge coordinator can
|
||||||
|
|
Loading…
Add table
Reference in a new issue