Closed yonran closed 2 years ago
MEDIUMBLOB
Vec
Blob(Vec<u8>)
BLOB
TEXT
CHAR(n)
MYSQL_TYPE_STRING
log_event_print_value
BINARY(n)
ColumnType::Set
ColumnType::TinyBlob
ColumnType::from_byte
This looks reasonable; can you rebase on master (sorry for all the conflicts)?
@yonran are you able to rebase against master?
@Justintime50 sure I just rebased it
MEDIUMBLOB
columns (previously panicked)Vec
inBlob(Vec<u8>)
public so that you can read theBLOB
orTEXT
dataCHAR(n)
columns (previously panicked) by parsing theMYSQL_TYPE_STRING
length according tolog_event_print_value
in log_event.cc (which is the reference according to MySQL Internals Manual -> The Binary Log -> Event Data for Specific Event Types)BINARY(n)
column (previously panicked), although the byte data is currently lostColumnType::Set
andColumnType::TinyBlob
inColumnType::from_byte
to match mysql-server’s field_types.cc