mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
Post fix for Bug#49557
This commit is contained in:
parent
522311e0c9
commit
b2e3fb8a6f
1 changed files with 2 additions and 1 deletions
|
@ -679,7 +679,8 @@ int ReplSemiSyncMaster::commitTrx(const char* trx_wait_binlog_name,
|
|||
abstime.tv.i64 = start_ts.tv.i64 + (__int64)wait_timeout_ * TIME_THOUSAND * 10;
|
||||
abstime.max_timeout_msec= (long)wait_timeout_;
|
||||
#else
|
||||
unsigned long diff_nsecs = start_ts.tv_nsec + wait_timeout_ * TIME_MILLION;
|
||||
unsigned long long diff_nsecs =
|
||||
start_ts.tv_nsec + (unsigned long long)wait_timeout_ * TIME_MILLION;
|
||||
abstime.tv_sec = start_ts.tv_sec;
|
||||
while (diff_nsecs >= TIME_BILLION)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue