builtin uncompress function ignored the four bytes length #8578
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
type/compatibility
Bug Report
Please answer these questions before submitting your issue. Thanks!
tidb-server -V
or runselect tidb_version();
on TiDB)?This is found when I try to implement builtin compress and uncompress function in TiKV (implement compress,uncompress,uncompressed_length tikv/tikv#3856)
the first four bytes stored the length of the uncompress string, if it's less than the corrected length (maybe corrupted), MySQL return Null, TiDB just ignore it.
The text was updated successfully, but these errors were encountered: