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

Method lock_index

phx_percona/percona/sql/binlog.h:689–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687 inline IO_CACHE* get_log_file() { return &log_file; }
688
689 inline void lock_index() { mysql_mutex_lock(&LOCK_index);}
690 inline void unlock_index() { mysql_mutex_unlock(&LOCK_index);}
691 inline IO_CACHE *get_index_file() { return &index_file;}
692 inline uint32 get_open_count() { return open_count; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected