Skip to content

fix: remove duplicate VARCHAR id mapping in operation_record_log resultMap (#6867) - #6963

Open
juicewcode wants to merge 1 commit into
apache:masterfrom
juicewcode:fix/6867-operation-record-log-resultmap
Open

fix: remove duplicate VARCHAR id mapping in operation_record_log resultMap (#6867)#6963
juicewcode wants to merge 1 commit into
apache:masterfrom
juicewcode:fix/6867-operation-record-log-resultmap

Conversation

@juicewcode

@juicewcode juicewcode commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Fixes #6867

Summary

Remove the stray <id column="id" jdbcType="VARCHAR" property="id"/> from BaseResultMap in
operation-record-log-sqlmap.xml. id is bigint/Long, so only the BIGINT <result> should map it; the VARCHAR one
was a copy-paste leftover. No behavior change on standard drivers; the path is covered by
OperationRecordLogMapperTest.testSelectLimit.

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] ClusterSelectMasterServiceJdbcImpl.getMasterUrl NPEs when no master row exists

1 participant