Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(canal): handle fake rotate events correctly for MariaDB 11.4
After upgrading to MariaDB 11.4, the canal module stopped detecting row updates within transactions due to incorrect handling of fake rotate events. MariaDB 11.4 does not set LogPos for certain events, causing these events to be ignored. This fix modifies the handling to consider fake rotate events only for ROTATE_EVENTs with timestamp = 0, aligning with MariaDB and MySQL documentation.
- Loading branch information