AsperforMias opened a new pull request, #1136: URL: https://github.com/apache/incubator-seata-go/pull/1136
<!-- Thanks for sending a pull request! --> <!-- Please make sure you have read and understood the contributing guidelines --> - [x] I have registered the PR [changes](https://github.com/apache/incubator-seata-go/tree/master/changes). **What this PR does**: Support MySQL multi-value `INSERT ... VALUES (...), (...)` statements in AT mode for composite primary key tables. This PR improves after-image primary key extraction for: - composite primary keys with explicit values - escaped primary key column names - prepared multi-value insert statements - mixed primary key scenarios where one PK column is explicit and an auto-increment PK column is generated - `NULL` auto-increment PK values in multi-value insert statements **Which issue(s) this PR fixes**: implement #1130 **Special notes for your reviewer**: The change is limited to AT insert after-image primary key extraction, primary key type mapping, and dev change notes. Existing single auto-increment primary key behavior is preserved. Tested with `go test ./pkg/datasource/sql/exec/at ./pkg/datasource/sql/types -count=1`. **Does this PR introduce a user-facing change?**: ```release-note Support MySQL multi-value INSERT statements in AT mode for composite and mixed primary key tables. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
