已开启
feat: add PyMySQL compatibility test suite for openGauss dolphin plugin #106
liuhaodong-2026创建于 24 天前
feat: add PyMySQL compatibility test suite for openGauss dolphin plugin #106
已开启
liuhaodong-2026创建于 24 天前
24 天前

【标题】
PyMySQL 1.2.0 兼容 openGauss 7.0.0-RC3 B兼容数据库(dolphin插件)兼容性测试

【实现内容】:
提交 PyMySQL 兼容性测试套件及自测报告,包含:

  • test_pymysql_opengauss.py:18个测试项,覆盖连接认证、CRUD、事务、游标类型、二进制、日期时间、Unicode、重连稳定性等
  • self_test_report.md:详细自测报告,含测试结果与已知限制说明

【根因分析】:
PyMySQL 通过 dolphin 插件 MySQL 协议端口连接 openGauss 时存在协议兼容性问题,
本测试验证修复后的兼容性现状。

【实现方案】:
基于 PyMySQL 1.2.0 + openGauss 7.0.0-RC3 + dolphin 插件,
在 B 兼容数据库上运行 18 项兼容性测试。

【关联需求或issue】:
2025 开源之夏课题:PyMySQL 兼容 openGauss B兼容数据库

【开发自验报告】:

  1. 自验结果见 PyMySQLCompatibility/self_test_report.md,18项中17项PASS,1项(错误码映射)为已知限制
  2. 不涉及 fastcheck 测试用例(纯客户端兼容性测试)
  3. 不涉及资料修改(文档在 docs 仓库单独提交)
    4-8. 不涉及
  4. 不涉及 Plugin 仓代码修改

【当前PR是否有AI参与】:
[x] 否

likedislike
合并受阻
Lliuhaodong-2026
24 天前 创建了 pull request,commit 6fb8525a
opengauss_botopengauss_bot成员
24 天前 添加了label:sig/Infra
opengauss_bot
opengauss_bot成员
24 天前 评论:

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 .

likedislike
opengauss_botopengauss_bot成员
24 天前 添加了label:stat/needs-squashai-co-authored
opengauss_botopengauss_bot成员
24 天前 添加了label:opengauss-cla/no
此处折叠了52条消息 查看更多
Lliuhaodong-2026
18 小时前 推送  1 个提交:bd4818e1-update: 更新文件 self_test_report.md
Lliuhaodong-2026
18 小时前 update merge request[project id: 5089494, iid: 106, commit_id: 7a92bf066c8a26a87af3588df6bc8a287c33d568] virtual merging success
opengauss_botopengauss_bot成员
18 小时前 删除了label:opengauss-cla/yes
opengauss_botopengauss_bot成员
18 小时前 添加了label:opengauss-cla/yes
opengauss_bot
opengauss_bot成员
18 小时前 评论:

CLA Signature Pass

liuhaodong-2026, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike