diff options
author | unknown <mats@kindahl-laptop.dnsalias.net> | 2007-08-16 07:37:50 +0200 |
---|---|---|
committer | unknown <mats@kindahl-laptop.dnsalias.net> | 2007-08-16 07:37:50 +0200 |
commit | 044a4a3e06fb8019e2af1fb6a8c9f783c1a407cf (patch) | |
tree | 60e368275522a93827d2542c48a28dede4305037 /sql/log_event_old.cc | |
parent | d287334638972435bcd0664a5ce62658ef8233b7 (diff) | |
download | mariadb-git-044a4a3e06fb8019e2af1fb6a8c9f783c1a407cf.tar.gz |
Renaming RELAY_LOG_INFO and st_relay_log_info to follow coding standards
(and be more friendly to Doxygen by removing unnecessary typedefs).
sql/log.cc:
Renaming struct st_relay_log_info to class Relay_log_info.
sql/log.h:
Renaming struct st_relay_log_info to class Relay_log_info.
sql/log_event.cc:
Renaming RELAY_LOG_INFO to Relay_log_info.
sql/log_event.h:
Renaming struct st_relay_log_info to class Relay_log_info.
Renaming RELAY_LOG_INFO to Relay_log_info.
Removing typedef RELAY_LOG_INFO.
sql/log_event_old.cc:
Renaming RELAY_LOG_INFO to Relay_log_info.
sql/log_event_old.h:
Renaming RELAY_LOG_INFO to Relay_log_info.
sql/rpl_mi.h:
Renaming RELAY_LOG_INFO to Relay_log_info.
sql/rpl_record.cc:
Renaming RELAY_LOG_INFO to Relay_log_info.
sql/rpl_record.h:
Renaming RELAY_LOG_INFO to Relay_log_info.
sql/rpl_record_old.cc:
Renaming RELAY_LOG_INFO to Relay_log_info.
sql/rpl_record_old.h:
Renaming RELAY_LOG_INFO to Relay_log_info.
sql/rpl_rli.cc:
Renaming struct st_relay_log_info to class Relay_log_info.
Renaming RELAY_LOG_INFO to Relay_log_info.
sql/rpl_rli.h:
Renaming struct st_relay_log_info to class Relay_log_info.
Renaming RELAY_LOG_INFO to Relay_log_info.
Removing typedef RELAY_LOG_INFO.
sql/rpl_utility.cc:
Renaming RELAY_LOG_INFO to Relay_log_info.
sql/rpl_utility.h:
Renaming struct st_relay_log_info to class Relay_log_info.
Renaming RELAY_LOG_INFO to Relay_log_info.
Removing typedef RELAY_LOG_INFO.
sql/slave.cc:
Renaming RELAY_LOG_INFO to Relay_log_info.
sql/slave.h:
Renaming struct st_relay_log_info to class Relay_log_info.
Renaming RELAY_LOG_INFO to Relay_log_info.
Removing typedef RELAY_LOG_INFO.
sql/sql_binlog.cc:
Renaming RELAY_LOG_INFO to Relay_log_info.
sql/sql_class.h:
Renaming struct st_relay_log_info to class Relay_log_info.
Renaming RELAY_LOG_INFO to Relay_log_info.
Removing typedef RELAY_LOG_INFO.
sql/sql_repl.cc:
Renaming RELAY_LOG_INFO to Relay_log_info.
Diffstat (limited to 'sql/log_event_old.cc')
-rw-r--r-- | sql/log_event_old.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sql/log_event_old.cc b/sql/log_event_old.cc index e6a9dd50c08..8663963b35e 100644 --- a/sql/log_event_old.cc +++ b/sql/log_event_old.cc @@ -6,7 +6,7 @@ #if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION) int Write_rows_log_event_old::do_prepare_row(THD *thd, - RELAY_LOG_INFO const *rli, + Relay_log_info const *rli, TABLE *table, uchar const *row_start, uchar const **row_end) @@ -15,7 +15,7 @@ Write_rows_log_event_old::do_prepare_row(THD *thd, DBUG_ASSERT(row_start && row_end); int error; - error= unpack_row_old(const_cast<RELAY_LOG_INFO*>(rli), + error= unpack_row_old(const_cast<Relay_log_info*>(rli), table, m_width, table->record[0], row_start, &m_cols, row_end, &m_master_reclength, table->write_set, PRE_GA_WRITE_ROWS_EVENT); @@ -26,7 +26,7 @@ Write_rows_log_event_old::do_prepare_row(THD *thd, int Delete_rows_log_event_old::do_prepare_row(THD *thd, - RELAY_LOG_INFO const *rli, + Relay_log_info const *rli, TABLE *table, uchar const *row_start, uchar const **row_end) @@ -39,7 +39,7 @@ Delete_rows_log_event_old::do_prepare_row(THD *thd, */ DBUG_ASSERT(table->s->fields >= m_width); - error= unpack_row_old(const_cast<RELAY_LOG_INFO*>(rli), + error= unpack_row_old(const_cast<Relay_log_info*>(rli), table, m_width, table->record[0], row_start, &m_cols, row_end, &m_master_reclength, table->read_set, PRE_GA_DELETE_ROWS_EVENT); @@ -59,7 +59,7 @@ Delete_rows_log_event_old::do_prepare_row(THD *thd, int Update_rows_log_event_old::do_prepare_row(THD *thd, - RELAY_LOG_INFO const *rli, + Relay_log_info const *rli, TABLE *table, uchar const *row_start, uchar const **row_end) @@ -73,13 +73,13 @@ int Update_rows_log_event_old::do_prepare_row(THD *thd, DBUG_ASSERT(table->s->fields >= m_width); /* record[0] is the before image for the update */ - error= unpack_row_old(const_cast<RELAY_LOG_INFO*>(rli), + error= unpack_row_old(const_cast<Relay_log_info*>(rli), table, m_width, table->record[0], row_start, &m_cols, row_end, &m_master_reclength, table->read_set, PRE_GA_UPDATE_ROWS_EVENT); row_start = *row_end; /* m_after_image is the after image for the update */ - error= unpack_row_old(const_cast<RELAY_LOG_INFO*>(rli), + error= unpack_row_old(const_cast<Relay_log_info*>(rli), table, m_width, m_after_image, row_start, &m_cols, row_end, &m_master_reclength, table->write_set, PRE_GA_UPDATE_ROWS_EVENT); |