tidb icon indicating copy to clipboard operation
tidb copied to clipboard

`NULL_COL_IDS` is not filled when encode row to bytes

Open Lloyd-Pottiger opened this issue 6 months ago • 1 comments

Bug Report

If canSkip return true here, colID will not append to EncodeRowBuffer.ColIDs.

https://github.com/pingcap/tidb/blob/9f671d6299f903aa7672ac8c654d76151a497695/pkg/table/tables/tables.go#L821-L823

https://github.com/pingcap/tidb/blob/6da55fc2b45996abccf76d7f68ddbceabc05455f/pkg/util/rowcodec/row.go#L36-L52

https://github.com/pingcap/tidb/blob/6da55fc2b45996abccf76d7f68ddbceabc05455f/pkg/util/rowcodec/row.go#L174-L188

Lloyd-Pottiger avatar Jun 12 '25 10:06 Lloyd-Pottiger

@cfzjywxk PTAL

jebter avatar Jun 17 '25 05:06 jebter