Skip to content

Fix misleading OceanBase offline DDL warnings during MySQL audits - #10

Open
chen8103 wants to merge 3 commits into
oceanbase:Integrationfrom
SisyphusSQ:codex/mysql-column-type-warning
Open

chen8103 wants to merge 3 commits into
oceanbase:Integrationfrom
SisyphusSQ:codex/mysql-column-type-warning

Conversation

@chen8103

Copy link
Copy Markdown

MySQL audits could report that an OceanBase offline DDL operation would block writes when a column changed type or a DDL policy rejected an operation. MySQL type-change warnings now name the column and show its old and new types. Restrictions on DROP TABLE, TRUNCATE TABLE, table character sets, collations, and column positions now identify the affected table or column and the applicable restriction.

OceanBase retains the existing offline DDL message. The original rule still determines the configured severity.

Verified with the focused session tests TestColumnTypeChangeMessage and TestSharedDDLAuditMessages, including English and Chinese messages. Built the Linux amd64 binary and ran it with -V in a Linux container.

@CLAassistant

CLAassistant commented Nov 26, 2026 •

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 2 committers have signed the CLA.

❌ 陈明
❌ SisyphusSQ


陈明 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@SisyphusSQ
SisyphusSQ deleted the codex/mysql-column-type-warning branch November 27, 2026 03:12
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.

3 participants