mirror of
https://github.com/MariaDB/server.git
synced 2025-09-13 13:47:59 +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:
@@ -92,8 +92,6 @@ class String;
|
||||
#define LOG_READ_CHECKSUM_FAILURE -8
|
||||
#define LOG_READ_DECRYPT -9
|
||||
|
||||
#define LOG_EVENT_OFFSET 4
|
||||
|
||||
/*
|
||||
3 is MySQL 4.x; 4 is MySQL 5.0.0.
|
||||
Compared to version 3, version 4 has:
|
||||
|
Reference in New Issue
Block a user