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

Method xunlock

phx_percona/percona/sql/binlog.cc:7774–7787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7772
7773
7774void MYSQL_BIN_LOG::xunlock(void)
7775{
7776 if (!snapshot_lock_acquired)
7777 {
7778 mysql_mutex_unlock(&LOCK_commit);
7779 }
7780 else
7781 {
7782 mysql_rwlock_unlock(&LOCK_consistent_snapshot);
7783 snapshot_lock_acquired= false;
7784 }
7785
7786 mysql_mutex_unlock(&LOCK_log);
7787}
7788
7789
7790Group_cache *THD::get_group_cache(bool is_transactional)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected