| 144 | } |
| 145 | |
| 146 | void 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 |