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

Method next_file_id

phx_percona/percona/sql/binlog.cc:5744–5751  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5742}
5743
5744uint MYSQL_BIN_LOG::next_file_id()
5745{
5746 uint res;
5747 mysql_mutex_lock(&LOCK_log);
5748 res = file_id++;
5749 mysql_mutex_unlock(&LOCK_log);
5750 return res;
5751}
5752
5753
5754/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected