1830
1830
end_trans(thd, ROLLBACK);
1831
1831
/* chance for concurrent connection to get more locks */
1832
safe_sleep(thd, min(rli->trans_retries, MAX_SLAVE_RETRY_PAUSE),
1832
safe_sleep(thd, min(rli->trans_retries, (uint32_t)MAX_SLAVE_RETRY_PAUSE),
1833
1833
(CHECK_KILLED_FUNC)sql_slave_killed, (void*)rli);
1834
1834
pthread_mutex_lock(&rli->data_lock); // because of SHOW STATUS