| 6263 | */ |
| 6264 | |
| 6265 | int MYSQL_BIN_LOG::wait_for_update_bin_log(THD* thd, |
| 6266 | const struct timespec *timeout) |
| 6267 | { |
| 6268 | int ret= 0; |
| 6269 | DBUG_ENTER("wait_for_update_bin_log"); |
| 6270 | |
| 6271 | if (!timeout) |
| 6272 | mysql_cond_wait(&update_cond, &LOCK_log); |
| 6273 | else |
| 6274 | ret= mysql_cond_timedwait(&update_cond, &LOCK_log, |
| 6275 | const_cast<struct timespec *>(timeout)); |
| 6276 | DBUG_RETURN(ret); |
| 6277 | } |
| 6278 | |
| 6279 | |
| 6280 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected