nevill / zongji

A mysql binlog listener running on Node.js.
Other
375 stars 118 forks source link

MariaDB UUID support #150

Open gronke opened 9 months ago

gronke commented 9 months ago

MariaDB support UUID type, which is stored in binary format. String conversion tampers the expected data, while the data in fact should hex encoded and (to match with the string interface to the column) split in segments.

This changes fix the issue for me, but invite to think about a cleaner/better approach. Consider this PR to be WIP and a request for feedback. Will keep this branch updated with better ideas.