Commit 374f30c
committed
MDEV-36810 Deduplicate
`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>LOG_EVENT_OFFSET
1 parent 002330e commit 374f30c
File tree
6 files changed
+21
-18
lines changed- client
- sql
6 files changed
+21
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5967 | 5967 | | |
5968 | 5968 | | |
5969 | 5969 | | |
5970 | | - | |
5971 | | - | |
| 5970 | + | |
| 5971 | + | |
| 5972 | + | |
| 5973 | + | |
| 5974 | + | |
5972 | 5975 | | |
5973 | 5976 | | |
5974 | 5977 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | 95 | | |
98 | 96 | | |
99 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2261 | 2261 | | |
2262 | 2262 | | |
2263 | 2263 | | |
2264 | | - | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
2265 | 2267 | | |
2266 | 2268 | | |
2267 | 2269 | | |
| |||
2528 | 2530 | | |
2529 | 2531 | | |
2530 | 2532 | | |
2531 | | - | |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
2532 | 2536 | | |
2533 | 2537 | | |
2534 | 2538 | | |
| |||
2663 | 2667 | | |
2664 | 2668 | | |
2665 | 2669 | | |
2666 | | - | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
2667 | 2673 | | |
2668 | 2674 | | |
2669 | 2675 | | |
| |||
2931 | 2937 | | |
2932 | 2938 | | |
2933 | 2939 | | |
2934 | | - | |
2935 | | - | |
| 2940 | + | |
| 2941 | + | |
| 2942 | + | |
| 2943 | + | |
2936 | 2944 | | |
2937 | 2945 | | |
2938 | 2946 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | 147 | | |
156 | 148 | | |
157 | 149 | | |
| |||
0 commit comments