Fix warnings in InnoDB & XtraDB post MDEV-14705
There was a missing argument to service_manager_extend_timeout call and the signness of arguments did not match.
This commit is contained in:
parent
1fd07d21a7
commit
2e91eb7547
@ -3244,8 +3244,8 @@ loop:
|
||||
os_event_set(lock_sys->timeout_event);
|
||||
os_event_set(dict_stats_event);
|
||||
}
|
||||
#define COUNT_INTERVAL 600
|
||||
#define CHECK_INTERVAL 100000
|
||||
#define COUNT_INTERVAL 600U
|
||||
#define CHECK_INTERVAL 100000U
|
||||
os_thread_sleep(CHECK_INTERVAL);
|
||||
|
||||
count++;
|
||||
@ -3261,7 +3261,8 @@ loop:
|
||||
if (srv_print_verbose_log && count > COUNT_INTERVAL) {
|
||||
service_manager_extend_timeout(
|
||||
COUNT_INTERVAL * CHECK_INTERVAL/1000000 * 2,
|
||||
"Waiting for %lu active transactions to finish");
|
||||
"Waiting for %lu active transactions to finish",
|
||||
(ulong) total_trx);
|
||||
ib_logf(IB_LOG_LEVEL_INFO,
|
||||
"Waiting for %lu active transactions to finish",
|
||||
(ulong) total_trx);
|
||||
|
@ -3560,8 +3560,8 @@ loop:
|
||||
os_event_set(lock_sys->timeout_event);
|
||||
os_event_set(dict_stats_event);
|
||||
}
|
||||
#define COUNT_INTERVAL 600
|
||||
#define CHECK_INTERVAL 100000
|
||||
#define COUNT_INTERVAL 600U
|
||||
#define CHECK_INTERVAL 100000U
|
||||
os_thread_sleep(CHECK_INTERVAL);
|
||||
|
||||
count++;
|
||||
@ -3577,7 +3577,8 @@ loop:
|
||||
if (srv_print_verbose_log && count > COUNT_INTERVAL) {
|
||||
service_manager_extend_timeout(
|
||||
COUNT_INTERVAL * CHECK_INTERVAL/1000000 * 2,
|
||||
"Waiting for %lu active transactions to finish");
|
||||
"Waiting for %lu active transactions to finish",
|
||||
(ulong) total_trx);
|
||||
ib_logf(IB_LOG_LEVEL_INFO,
|
||||
"Waiting for %lu active transactions to finish",
|
||||
(ulong) total_trx);
|
||||
|
Loading…
x
Reference in New Issue
Block a user