Skip to content

Update latest vitess.io/vitess 20240222#18

Merged
dbussink merged 3 commits intomainfrom
update-latest-20240215
Feb 22, 2024
Merged

Update latest vitess.io/vitess 20240222#18
dbussink merged 3 commits intomainfrom
update-latest-20240215

Conversation

@shlomi-noach
Copy link
Copy Markdown
Collaborator

@shlomi-noach shlomi-noach commented Feb 16, 2024

Updating vitess.io/vitess to latest from upstream: v0.10.3-0.20240215220334-f82fb7cbd03d. This specifically includes foreign key loop resolution.

Update to the update: now pulling v0.10.3-0.20240222075616-c536bb7b2660 which specifically includes vitessio/vitess#15302.

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach
Copy link
Copy Markdown
Collaborator Author

@dbussink for review as this introduces vtenv, and go mod tidy re-introduced many libraries which I believe were removed earlier on.

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach shlomi-noach changed the title Update latest vitess.io/vitess 20240215 Update latest vitess.io/vitess 20240222 Feb 22, 2024
pkg/core/exec.go Outdated
parser, err := sqlparser.New(sqlparser.Options{
vtenv, err := vtenv.New(vtenv.Options{
MySQLServerVersion: mysqlVersion,
TruncateUILen: servenv.TruncateUILen,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should not use servenv here but provide these values ourselves.

The defaults of 0 are actually fine and better. It also will clean up go.mod again and greatly reduce the binary size.

@dbussink dbussink merged commit 7bbc218 into main Feb 22, 2024
@dbussink dbussink deleted the update-latest-20240215 branch February 22, 2024 15:33
@dbussink dbussink mentioned this pull request Mar 5, 2024
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