diff options
author | unknown <mats@romeo.(none)> | 2007-04-12 15:50:54 +0200 |
---|---|---|
committer | unknown <mats@romeo.(none)> | 2007-04-12 15:50:54 +0200 |
commit | db39f3a8ce7dd613fe121393e91c6c5a204e2d2d (patch) | |
tree | 99bc39551e216b0f815a7d3af2d4237c7ed72cc9 /sql/rpl_record_old.h | |
parent | 9c2673816d0c8092233b2ca31a47214c6f3dcb0e (diff) | |
download | mariadb-git-db39f3a8ce7dd613fe121393e91c6c5a204e2d2d.tar.gz |
BUG#27779 (Slave cannot read old rows log events):
Taking code from before BUG#22583 and incorporating as events to be able
to read old events. Also incorporating old pack and unpack functions
into patch.
client/Makefile.am:
Adding files log_event_old.{h,cc} and rpl_record_old.{h,cc}
client/mysqlbinlog.cc:
Adding log_event_old.cc.
libmysqld/Makefile.am:
Adding files log_event_old.{h,cc} and rpl_record_old.{h,cc}
sql/CMakeLists.txt:
Adding files log_event_old.{h,cc} and rpl_record_old.{h,cc}
sql/Makefile.am:
Adding files log_event_old.{h,cc} and rpl_record_old.{h,cc}
sql/log_event.cc:
Adding code to read pre-GA rows events.
sql/log_event.h:
Refactoring to support inheritance and including "old" events definitions.
sql/log_event_old.cc:
New BitKeeper file ``sql/log_event_old.cc''
sql/log_event_old.h:
New BitKeeper file ``sql/log_event_old.h''
sql/rpl_record_old.cc:
New BitKeeper file ``sql/rpl_record_old.cc''
sql/rpl_record_old.h:
New BitKeeper file ``sql/rpl_record_old.h''
Diffstat (limited to 'sql/rpl_record_old.h')
-rw-r--r-- | sql/rpl_record_old.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sql/rpl_record_old.h b/sql/rpl_record_old.h new file mode 100644 index 00000000000..7249d98c7b1 --- /dev/null +++ b/sql/rpl_record_old.h @@ -0,0 +1,17 @@ +#ifndef RPL_RECORD_OLD_H +#define RPL_RECORD_OLD_H + +#ifndef MYSQL_CLIENT +my_size_t pack_row_old(THD *thd, TABLE *table, MY_BITMAP const* cols, + byte *row_data, const byte *record); + +#ifdef HAVE_REPLICATION +int unpack_row_old(RELAY_LOG_INFO *rli, + TABLE *table, uint const colcnt, byte *record, + char const *row, MY_BITMAP const *cols, + char const **row_end, ulong *master_reclength, + MY_BITMAP* const rw_set, + Log_event_type const event_type); +#endif +#endif +#endif |