Skip to content

fix: use to_show_str for session sys vars#132

Merged
LINxiansheng merged 2 commits intooceanbase:developfrom
WSL0809:fix/issue-107
Jan 31, 2026
Merged

fix: use to_show_str for session sys vars#132
LINxiansheng merged 2 commits intooceanbase:developfrom
WSL0809:fix/issue-107

Conversation

@WSL0809
Copy link
Copy Markdown
Contributor

@WSL0809 WSL0809 commented Jan 26, 2026

Task Description

close #107

Solution Description

In the system variable encoding logic within the OK packet construction path, change the direct conversion of internal numerical IDs to calling the to_show_str() function to ensure that the character set/collation name strings sent to the client comply with the MySQL protocol specifications.

Passed Regressions

Unittest, Manual testing
图片

Copy link
Copy Markdown
Member

@LINxiansheng LINxiansheng left a comment

Choose a reason for hiding this comment

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

LGTM

@LINxiansheng LINxiansheng merged commit 936150a into oceanbase:develop Jan 31, 2026
2 checks passed
@WSL0809 WSL0809 deleted the fix/issue-107 branch January 31, 2026 07:23
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]: Unexpected warning information when executing call dbms_ai_service.create_ai_model

2 participants