[PATCH] Remove division-using-subtraction implementation from semi-sync plugin

Description

Apparently the person who included our semi-sync code into MariaDB (or MySQL) assumed that semi-sync timeout will always be less than a second or on the order of a few seconds. With a very big timeout this algorithm doesn't work well.
The following patch fixes this:

Environment

None

Assignee

Vladislav Vaintroub

Reporter

Pavel Ivanov

Labels

None

Fix versions

Affects versions

Priority

Major
Configure