osheroff / mysql-binlog-connector-java

MySQL Binary Log connector
680 stars 167 forks source link

JSON partial update can break reading of field names #65

Open jpechane opened 2 years ago

jpechane commented 2 years ago

For MySQL 8 it is possible when partial update is executed that the field names are not follow one after other but is sparsed and filled with garbage in between.

This means it is necessary to use key reading based on offsets too in the same way as for values - https://github.com/osheroff/mysql-binlog-connector-java/pull/64