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

Function binlog_commit

phx_percona/percona/sql/binlog.cc:1454–1461  ·  view source on GitHub ↗

This function is called once after each statement. @todo This function is currently not used any more and will eventually be eliminated. The real commit job is done in the MYSQL_BIN_LOG::commit function. @see MYSQL_BIN_LOG::commit @param hton The binlog handlerton. @param thd The client thread that executes the transaction. @param all This is @c true if this is a real transac

Source from the content-addressed store, hash-verified

1452 @see handlerton::commit
1453*/
1454static int binlog_commit(handlerton *hton, THD *thd, bool all)
1455{
1456 DBUG_ENTER("binlog_commit");
1457 /*
1458 Nothing to do (any more) on commit.
1459 */
1460 DBUG_RETURN(0);
1461}
1462
1463/**
1464 This function is called when a transaction or a statement is rolled back.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected