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

Function delegates_destroy

phx_percona/percona/sql/rpl_handler.cc:146–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void delegates_destroy()
147{
148 if (transaction_delegate)
149 transaction_delegate->~Trans_delegate();
150 if (binlog_storage_delegate)
151 binlog_storage_delegate->~Binlog_storage_delegate();
152#ifdef HAVE_REPLICATION
153 if (binlog_transmit_delegate)
154 binlog_transmit_delegate->~Binlog_transmit_delegate();
155 if (binlog_relay_io_delegate)
156 binlog_relay_io_delegate->~Binlog_relay_IO_delegate();
157#endif /* HAVE_REPLICATION */
158}
159
160/*
161 This macro is used by almost all the Delegate methods to iterate

Callers 1

clean_upFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected