MySQL  8.0.19
Source Code Documentation
rpl_handler.h File Reference
#include <sys/types.h>
#include "my_alloc.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_psi_config.h"
#include "my_sys.h"
#include "mysql/components/services/mysql_rwlock_bits.h"
#include "mysql/components/services/psi_rwlock_bits.h"
#include "mysql/psi/mysql_rwlock.h"
#include "sql/sql_list.h"
#include "sql/sql_plugin_ref.h"

Go to the source code of this file.

Classes

class  Observer_info
 
class  Delegate
 
class  Trans_delegate
 
class  Server_state_delegate
 
class  Binlog_storage_delegate
 
class  Binlog_transmit_delegate
 
class  Binlog_relay_IO_delegate
 

Macros

#define RUN_HOOK(group, hook, args)   (group##_delegate->is_empty() ? 0 : group##_delegate->hook args)
 
#define NO_HOOK(group)   (group##_delegate->is_empty())
 

Functions

int delegates_init ()
 
void delegates_destroy ()
 
int launch_hook_trans_begin (THD *thd, TABLE_LIST *table)
 

Variables

PSI_rwlock_key key_rwlock_Trans_delegate_lock
 
PSI_rwlock_key key_rwlock_Server_state_delegate_lock
 
PSI_rwlock_key key_rwlock_Binlog_storage_delegate_lock
 
PSI_rwlock_key key_rwlock_Binlog_transmit_delegate_lock
 
PSI_rwlock_key key_rwlock_Binlog_relay_IO_delegate_lock
 
Trans_delegatetransaction_delegate
 
Binlog_storage_delegatebinlog_storage_delegate
 
Server_state_delegateserver_state_delegate
 
Binlog_transmit_delegatebinlog_transmit_delegate
 
Binlog_relay_IO_delegatebinlog_relay_io_delegate
 

Macro Definition Documentation

◆ NO_HOOK

#define NO_HOOK (   group)    (group##_delegate->is_empty())

◆ RUN_HOOK

#define RUN_HOOK (   group,
  hook,
  args 
)    (group##_delegate->is_empty() ? 0 : group##_delegate->hook args)

Function Documentation

◆ delegates_destroy()

void delegates_destroy ( )

◆ delegates_init()

int delegates_init ( )

◆ launch_hook_trans_begin()

int launch_hook_trans_begin ( THD thd,
TABLE_LIST table 
)

Variable Documentation

◆ binlog_relay_io_delegate

Binlog_relay_IO_delegate* binlog_relay_io_delegate

◆ binlog_storage_delegate

Binlog_storage_delegate* binlog_storage_delegate

◆ binlog_transmit_delegate

Binlog_transmit_delegate* binlog_transmit_delegate

◆ key_rwlock_Binlog_relay_IO_delegate_lock

PSI_rwlock_key key_rwlock_Binlog_relay_IO_delegate_lock

◆ key_rwlock_Binlog_storage_delegate_lock

PSI_rwlock_key key_rwlock_Binlog_storage_delegate_lock

◆ key_rwlock_Binlog_transmit_delegate_lock

PSI_rwlock_key key_rwlock_Binlog_transmit_delegate_lock

◆ key_rwlock_Server_state_delegate_lock

PSI_rwlock_key key_rwlock_Server_state_delegate_lock

◆ key_rwlock_Trans_delegate_lock

PSI_rwlock_key key_rwlock_Trans_delegate_lock

◆ server_state_delegate

Server_state_delegate* server_state_delegate

◆ transaction_delegate

Trans_delegate* transaction_delegate