Skip to content

correct gofmt of vtctld and re-sync go.mod#5766

Merged
systay merged 1 commit intovitessio:masterfrom
jmhodges:sync
Jan 28, 2020
Merged

correct gofmt of vtctld and re-sync go.mod#5766
systay merged 1 commit intovitessio:masterfrom
jmhodges:sync

Conversation

@jmhodges
Copy link
Copy Markdown
Contributor

This addresses symptoms, but not causes, discussed in #5755 and #5756

Signed-off-by: Jeff Hodges jeff@somethingsimilar.com

This addresses symptoms, but not causes, discussed in vitessio#5755 and vitessio#5756

Signed-off-by: Jeff Hodges <jeff@somethingsimilar.com>
@jmhodges jmhodges requested a review from sougou as a code owner January 25, 2020 00:35
@jmhodges
Copy link
Copy Markdown
Contributor Author

This failed because of some remote apt repo failing. Could I get a re-run?

@morgo
Copy link
Copy Markdown
Contributor

morgo commented Jan 25, 2020

I've triggered a rebuild.

@jmhodges
Copy link
Copy Markdown
Contributor Author

Weird panic in the cluster_end / build (15) run that doesn't seem related?

@deepthi
Copy link
Copy Markdown
Collaborator

deepthi commented Jan 27, 2020

@sougou @morgo travis actually ran successfully but the status here didn't get updated.
One of you needs to override to merge this PR.

Copy link
Copy Markdown
Collaborator

@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

@systay systay merged commit 5f87bd8 into vitessio:master Jan 28, 2020
jmhodges added a commit to jmhodges/vitess that referenced this pull request Jan 29, 2020
This is a significant, but not complete expansion of the ALTER support in
sqlparser.

It adds support for these ALTER commands:

* `ADD COLUMN`
* `DROP COLUMN`
* `ADD INDEX`
* `DROP INDEX`
* `DROP FOREIGN KEY`
* `DROP PRIMARY KEY`
* `ADD PARTITION`
* `DROP PARTITION`
* `ADD CHECK` (as a no-op; it's parsed but never executed by mysql servers)

The main addition with this API is an additional field on `DDL` that is a slice
of newly created `AlterSpecs`. An `AlterSpec` represents one of the commands
that can occur in the same `ALTER` statement with other commands. This
differentiates them from the `ALTER` statement parse states already in `sql.y`
which are concerned with `ALTER` commands that must be the sole commands in the
statement.

The `ADD PARTITION` and `DROP PARTITION` states are the exception and are new
singleton commands that `sql.y` now supports.

This patch also includes some incidental updates to `go.mod` because of tooling
issues (described in vitessio#5755) and are duplicated in vitessio#5766

Updates vitessio#5705

Signed-off-by: Jeff Hodges <jeff@somethingsimilar.com>
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.

4 participants