33 Commits

Author SHA1 Message Date
8469c11373
refactor(parse): 拆分 parse.go 并修复事务/过滤一致性问题
- 将臃肿的 parse.go 按职责拆分为多个模块:
    parse_types.go、parse_io.go、parse_event_convert.go、parse_stream.go、parse_filter.go
  - parse.go 保留为模块入口说明,提升可维护性与可读性
  - 修复事务状态被覆盖问题(BEGIN/COMMIT/ROLLBACK 不再被重置为 PREPARE)
  - 增加 include-tables 与 exclude-tables 互斥校验,同时配置时直接报配置错误
  - 强化表匹配器模式校验,并补充非法模式测试
  - 在明细过滤后重算事务统计(RowsCount/StartPos/EndPos/Size),避免统计失真
  - 增加 TABLE_MAP 事件转换,补充列元信息透传(ColumnTypes/ColumnCollationIDs)
  - 基于 unsigned 元数据规范化行值,避免无符号整型被渲染为负数
  - 优化事件解析报错信息:增加有界 body 十六进制预览
  - 补充单元测试:payload/tablemap 转换、unsigned 规范化、过滤逻辑、IO 预览
2026-03-19 17:04:35 +08:00
52a32d4836
bug fix:因sync.Pool不当使用导致解析失败的问题 2026-03-12 22:30:15 +08:00
095cb3dbdf
rewrite parse.go 2026-03-08 20:07:59 +08:00
6536853c69 bug fix 2024-04-07 16:28:20 +08:00
b5d318860e bug fix 2024-04-07 16:17:17 +08:00
4a84113b83 bug fix 2024-04-07 16:13:32 +08:00
690fc4624a update 2024-04-07 15:50:21 +08:00
79f86a6dc8 add only show dml control 2023-11-06 13:47:15 +08:00
b1b0733e53 bug fix 2023-07-03 17:36:00 +08:00
58c0291b7a bug fix 2023-07-03 15:45:54 +08:00
1ed514f350 bug fix 2023-07-03 15:16:36 +08:00
6eecb93b9c bug fix 2023-07-03 14:46:11 +08:00
6e5ce4613c bug fix 2023-07-03 14:42:18 +08:00
99a7d11907 bug fix 2023-07-03 14:31:10 +08:00
9b9b211c0a add more feature 2023-07-03 14:03:45 +08:00
61d231f6b6 Merge branch 'master' of git.b612.me:b612/mysqlbinlog 2023-07-03 13:47:47 +08:00
402bae1f0e update 2023-07-03 13:47:39 +08:00
f782522f68 updaate 2023-07-03 13:37:39 +08:00
8caa467be7 update 2023-06-30 17:55:45 +08:00
1c838a7c1e update 2023-06-30 17:23:07 +08:00
304b5c10a3 bug fix 2023-06-30 16:32:14 +08:00
7c0272cc62 bug fix 2023-06-30 13:37:41 +08:00
79b68fe433 bug fix 2023-06-30 12:44:34 +08:00
8b0423eb94 support binlog compression 2023-06-29 13:16:42 +08:00
39ca67fcfe add more func 2023-05-24 15:25:31 +08:00
0f74dc3dc8 add rows event 2023-04-29 17:16:24 +08:00
eec96dd25e add more info 2023-04-29 12:26:54 +08:00
393275a195 add more info 2023-04-29 12:05:15 +08:00
b981b331e8 add more info 2023-04-29 11:29:29 +08:00
cc1434ceef update 2023-04-25 20:27:48 +08:00
58eec327ea update 2023-04-25 19:32:41 +08:00
d0dad74b18 update 2023-04-25 19:30:24 +08:00
6d5936c8eb init 2023-04-25 18:41:34 +08:00