MinatoWu commented on code in PR #837: URL: https://github.com/apache/incubator-seata-go/pull/837#discussion_r2152143694
########## pkg/datasource/sql/exec/at/base_executor.go: ########## @@ -359,37 +358,48 @@ func (b *baseExecutor) buildPKParams(rows []types.RowImage, pkNameList []string) // the string as local key. the local key example(multi pk): "t_user:1_a,2_b" func (b *baseExecutor) buildLockKey(records *types.RecordImage, meta types.TableMeta) string { - var ( - lockKeys bytes.Buffer - filedSequence int - ) + var lockKeys strings.Builder Review Comment: Encapsulated in util package -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org