MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Rpl_info Class Reference
Inheritance diagram for Rpl_info:
Collaboration diagram for Rpl_info:

Public Member Functions

void set_rpl_info_handler (Rpl_info_handler *param_handler)
Rpl_info_handler * get_rpl_info_handler ()
enum_return_check check_info ()
int remove_info ()
int clean_info ()
bool is_transactional ()
bool update_is_transactional ()
char * get_description_info ()
bool copy_info (Rpl_info_handler *from, Rpl_info_handler *to)
uint get_internal_id ()
- Public Member Functions inherited from Slave_reporting_capability
 Slave_reporting_capability (char const *thread_name)
virtual void report (loglevel level, int err_code, const char *msg,...) const ATTRIBUTE_FORMAT(printf
virtual void void va_report (loglevel level, int err_code, const char *prefix_msg, const char *msg, va_list v_args) const
void clear_error ()
int has_temporary_error (THD *thd, uint error_arg=0, bool *silent=0) const
Error const & last_error () const
bool is_error () const

Public Attributes

mysql_mutex_t data_lock
mysql_mutex_t run_lock
mysql_mutex_t sleep_lock
mysql_cond_t data_cond
mysql_cond_t start_cond
mysql_cond_t stop_cond
mysql_cond_t sleep_cond
THD * info_thd
bool inited
volatile bool abort_slave
volatile uint slave_running
volatile ulong slave_run_id
int events_until_exit
- Public Attributes inherited from Slave_reporting_capability
mysql_mutex_t err_lock

Protected Member Functions

 Rpl_info (const char *type, uint param_id)
- Protected Member Functions inherited from Slave_reporting_capability
virtual void do_report (loglevel level, int err_code, const char *msg, va_list v_args) const

Protected Attributes

Rpl_info_handler * handler
uint internal_id

Detailed Description

Definition at line 24 of file rpl_info.h.

Member Function Documentation

Rpl_info_handler* Rpl_info::get_rpl_info_handler ( )
inline

Gets the persistency component/handler.

Returns
the handler if there is one.

Definition at line 76 of file rpl_info.h.

void Rpl_info::set_rpl_info_handler ( Rpl_info_handler *  param_handler)
inline

Sets the persistency component/handler.

Parameters
[in]hanlderPointer to the handler.

Definition at line 66 of file rpl_info.h.

Member Data Documentation

Rpl_info_handler* Rpl_info::handler
protected

Pointer to the repository's handler.

Definition at line 128 of file rpl_info.h.

uint Rpl_info::internal_id
protected

Uniquely and internaly identifies an info entry (.e.g. a row or file). This information is completely transparent to users and is used only during startup to retrieve information from the repositories.

Definition at line 136 of file rpl_info.h.


The documentation for this class was generated from the following files: