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

8.0 Bugfix: fix parsing of online-ddl command line options #6899

Merged

Conversation

shlomi-noach
Copy link
Contributor

In the following statement:

ALTER WITH 'gh-ost' '--throttle-query="SELECT SLEEP(1)"' TABLE t DROP COLUMN c

the current behavior wrongly parses the command line options as '--throttle-query="SELECT and SLEEP(1)", because of the space, ignoring the quotes. This PR fixes that by using a more sophisticated parser.

This should ideally make it into 8.0.

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach shlomi-noach requested review from deepthi and a team and removed request for deepthi October 19, 2020 12:18
@deepthi deepthi added this to the v8.0 milestone Oct 19, 2020
Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

LGTM

@deepthi deepthi merged commit 58a8801 into vitessio:release-8.0 Oct 19, 2020
@deepthi deepthi deleted the parse-online-ddl-options-release80 branch October 19, 2020 17:03
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.

2 participants