Skip to content

Dev - #8

Merged
xlorne merged 2 commits into
mainfrom
dev
Jun 29, 2026
Merged

Dev#8
xlorne merged 2 commits into
mainfrom
dev

Conversation

@xlorne

@xlorne xlorne commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

No description provided.

xlorne and others added 2 commits June 29, 2026 11:25
executeBatch()/executeLargeBatch() 在 MySQL rewriteBatchedStatements 等
场景下返回的结果数组长度可能小于批量行数,导致 DBEventListener.after()
中 arrays.get(i) 抛 IndexOutOfBoundsException。

- batchResultToArrays 现恒定返回长度等于批量行数的 List,缺失位置按
  「成功但行数未知」补齐,避免越界且事件不丢失。
- ResultSetUtils.isNotUpdatedRows 将 SUCCESS_NO_INFO(-2) 视为已更新,
  避免整批事件被静默丢弃。
- 新增 DBEventListenerBatchResultTest 覆盖越界回归。

Co-Authored-By: Claude <noreply@anthropic.com>
- pom.xml 版本号 1.0.18 → 1.0.19
- 移除 docs/ 下旧的架构/组件/变更/计划文档及 .claude/settings.json

Co-Authored-By: Claude <noreply@anthropic.com>
@xlorne
xlorne merged commit bf7d907 into main Jun 29, 2026
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.

1 participant