Skip to content

[ISSUE #2456] fix(instances): normalize named identifiers - #2459

Open
yuluo-yx wants to merge 1 commit into
apache:rocketmq-studiofrom
yuluo-yx:0820-yuluo-yx/fix-10
Open

[ISSUE #2456] fix(instances): normalize named identifiers#2459
yuluo-yx wants to merge 1 commit into
apache:rocketmq-studiofrom
yuluo-yx:0820-yuluo-yx/fix-10

Conversation

@yuluo-yx

Copy link
Copy Markdown
Member

Summary

  • normalize instance identifiers once at the repository boundary
  • use the canonical value for both name and numeric lookups
  • cover a padded named identifier query

Verification

  • MybatisPlusInstanceRepositoryTest: 17 tests passed
  • Maven Checkstyle: 0 violations
  • scope check: 20 changed lines

Fixes #2456

Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>

@RockteMQ-AI RockteMQ-AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Good normalization at the repository boundary — trimming once and reusing the normalized value for both name and numeric lookups avoids subtle inconsistencies. Test verifies the exact SQL segment and parameter values.

LGTM.


Automated review by github-manager

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.

2 participants