mirror of
https://github.com/MariaDB/server.git
synced 2025-11-24 06:01:25 +03:00
When calculating next wakeup timepoint for the timer thread, with large thread_pool_stall_limit values, 32bit int overflow can happen. Fixed by making one operand 8 byte large. Also fixed the type of tick_interval to be unsigned, so it does not go negative for very thread_pool_stall_limit.
46 KiB
46 KiB