diff options
author | unknown <rafal@quant.(none)> | 2007-08-28 10:14:45 +0200 |
---|---|---|
committer | unknown <rafal@quant.(none)> | 2007-08-28 10:14:45 +0200 |
commit | 8b3d52630fc5c95495dec60bdd0da6be8d475714 (patch) | |
tree | fe4d8d7d7cae96ea00426b1d539a9508cd839570 /sql/log_event.h | |
parent | cd7d837be6685f8afc362ba5e90d9e724745370e (diff) | |
download | mariadb-git-8b3d52630fc5c95495dec60bdd0da6be8d475714.tar.gz |
BUG#21842: Exclude Rows_log_event members used in event application if
not compiled as a replication server - a fix from rpl clone now applied
to 5.1.22 tree.
sql/log_event.cc:
Exclude Rows_log_event members used in event application if
not compiled as a replication server.
sql/log_event.h:
Don't initialize Rows_log_event members used in event application if
not compiled as a replication server.
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index 064d13b3e62..5450048bee2 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -2294,15 +2294,15 @@ protected: uchar *m_rows_cur; /* One-after the end of the data */ uchar *m_rows_end; /* One-after the end of the allocated space */ - const uchar *m_curr_row; /* Start of the row being processed */ - const uchar *m_curr_row_end; /* One-after the end of the current row */ - - flag_set m_flags; /* Flags for row-level events */ - uchar *m_key; /* Buffer to keep key value during searches */ + flag_set m_flags; /* Flags for row-level events */ /* helper functions */ #if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION) + const uchar *m_curr_row; /* Start of the row being processed */ + const uchar *m_curr_row_end; /* One-after the end of the current row */ + uchar *m_key; /* Buffer to keep key value during searches */ + int find_row(const RELAY_LOG_INFO *const); int write_row(const RELAY_LOG_INFO *const, const bool); |