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

Method after_rollback

phx_percona/percona/sql/rpl_handler.cc:237–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237int Trans_delegate::after_rollback(THD *thd, bool all)
238{
239 Trans_param param = { 0, 0, 0, 0 };
240 bool is_real_trans= (all || thd->transaction.all.ha_list == 0);
241
242 if (is_real_trans)
243 param.flags|= TRANS_IS_REAL_TRANS;
244 thd->get_trans_fixed_pos(&param.log_file, &param.log_pos);
245 int ret= 0;
246 FOREACH_OBSERVER(ret, after_rollback, thd, (&param));
247 return ret;
248}
249
250
251int Binlog_storage_delegate::after_flush(THD *thd,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected