MCPcopy Create free account
hub / github.com/Tencent/phxsql / wait_for_update_bin_log

Method wait_for_update_bin_log

phx_percona/percona/sql/binlog.cc:6265–6277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6263*/
6264
6265int 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/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected