EasyPost / rust-mysql-binlog

Rust implementation of the MySQL binlog format
ISC License
104 stars 18 forks source link

MyString support #14

Closed zaibacu closed 2 years ago

zaibacu commented 2 years ago

Got following exception while reading binlog of MariaDB (mysql Ver 15.1 Distrib 10.3.21-MariaDB, for Linux (x86_64) using readline 5.1 )

thread 'main' panicked at 'not implemented: unimplemented stringy type MyString mysql_binlog-0.3.2/src/column_types.rs:120:26

Roguelazer commented 2 years ago

This should be fixed as of v0.4.0, just released

Note that we don't properly handle encodings, so a MyString that corresponds to a BINARY / VARBINARY column (or, really, anything other than UTF-8 string) will probably not work correctly.