mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
5c35b4174e
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''
17 lines
576 B
C
17 lines
576 B
C
#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
|