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

Method is_binlog_empty

phx_percona/percona/sql/binlog.cc:750–752  ·  view source on GitHub ↗

Convenience method to check if both caches are empty. */

Source from the content-addressed store, hash-verified

748 Convenience method to check if both caches are empty.
749 */
750 bool is_binlog_empty() const {
751 return stmt_cache.is_binlog_empty() && trx_cache.is_binlog_empty();
752 }
753
754 /*
755 clear stmt_cache and trx_cache if they are not empty

Callers

nothing calls this directly

Calls 1

is_binlog_emptyMethod · 0.45

Tested by

no test coverage detected