合并受阻
Welcome To openGauss Community
Hey @liuhaodong-2026 , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.
Contact Guide
If you have any questions, please contact the SIG: Infra ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @ailoooong, @gzbang, @libiao2024, @zhangxubo .


/check-cla


CLA Signature Guide
@liuhaodong-2026 , thanks for your pull request.
The following commit(s) are not associated with a signed Contributor License Agreement (CLA).
| Commit | Reason |
|---|---|
| 6604b9ae test: add pymysql compatibility ... | the email used in the commit is not linked to a signed CLA! please verify that it matches the email you used when signing the CLA. |
To sign CLA, click here.
To check if your email is configured correctly, refer to the FAQs.
Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.


位置:test_pymysql_opengauss.py:L493-L498
【问题】
重复键场景把 DROP TABLE、CREATE TABLE、第一次正常 INSERT 和真正应触发重复键的第二次 INSERT 放在同一个 try 中。若建表失败、权限不足或第一次 INSERT 失败,也会落入 L508 的通用异常分支并加入 xfail_reasons;runner 最终只统计 XFAIL、仍返回退出码 0,因此测试可能根本没有执行重复键 SQL却显示流水成功。
【建议】
先在异常断言之外完成 DROP/CREATE/第一次 INSERT 并提交,再用单独 try 只包住第二次重复键 INSERT;仅将已确认的错误映射差异认定为 XFAIL,准备阶段或连接类异常直接作为 FAIL 抛出。


【标题】
PyMySQL 1.2.0 兼容 openGauss 7.0.0-RC3 B兼容数据库(dolphin插件)兼容性测试
【实现内容】:
提交 PyMySQL 兼容性测试套件及自测报告,包含:
【根因分析】:
PyMySQL 通过 dolphin 插件 MySQL 协议端口连接 openGauss 时存在协议兼容性问题,
本测试验证修复后的兼容性现状。
【实现方案】:
基于 PyMySQL 1.2.0 + openGauss 7.0.0-RC3 + dolphin 插件,
在 B 兼容数据库上运行 18 项兼容性测试。
【关联需求或issue】:
2025 开源之夏课题:PyMySQL 兼容 openGauss B兼容数据库
【开发自验报告】:
4-8. 不涉及
【当前PR是否有AI参与】:
[x] 否