Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: 添加参数ignore_osc_alter_stmt可配置忽略osc的alter子句 (#258) #263

Merged
merged 2 commits into from
Sep 6, 2020

Conversation

hanchuanchuan
Copy link
Owner

添加参数ignore_osc_alter_stmt, 可配置强制忽略osc的Alter子句, 直接执行.

格式为drop index,add column等,配置要跳过的子句格式,多个时以逗号分隔

ignore_osc_alter_stmt = 'add index,drop index'

以下格式的语法已自动跳过osc:

ALTER TABLE tbl_name CHARACTER SET = charset_name;
ALTER TABLE tbl_name COLLATE = 'utf8_bin';
ALTER TABLE tbl_name COMMENT = '...';

@hanchuanchuan hanchuanchuan merged commit 51a6de3 into master Sep 6, 2020
@hanchuanchuan hanchuanchuan deleted the optimize-osc-used branch September 6, 2020 03:02
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