mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-36810 Deduplicate LOG_EVENT_OFFSET
`LOG_EVENT_OFFSET` is a duplicate of `EVENT_TYPE_OFFSET` and `BIN_LOG_HEADER_SIZE` depending on the context. While there, centralize `BIN_LOG_HEADER_SIZE` to `sql/rpl_constants.h` (previously from `sql/unireg.h` and `client/mysqlbinlog.cc`) Reviewed-by: Brandon Nesterenko <brandon.nesterenko@mariadb.com>
This commit is contained in:
@@ -70,7 +70,6 @@ extern "C" unsigned char *mysql_net_store_length(unsigned char *packet, size_t l
|
||||
|
||||
Rpl_filter *binlog_filter= 0;
|
||||
|
||||
#define BIN_LOG_HEADER_SIZE 4
|
||||
#define PROBE_HEADER_LEN (EVENT_LEN_OFFSET+4)
|
||||
|
||||
/* Needed for Rpl_filter */
|
||||
|
Reference in New Issue
Block a user