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

Set CheckAndIgnore to Log Warn than Error on failing the SysVar settings check #6099

Merged

Conversation

harshit-gangal
Copy link
Member

Signed-off-by: Harshit Gangal harshit@planetscale.com

…heck

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
@harshit-gangal harshit-gangal changed the title Set CheckAndIgnore to Log Warn than Error on failing the expression check Set CheckAndIgnore to Log Warn than Error on failing the SysVar settings check Apr 21, 2020
Copy link
Collaborator

@systay systay left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -46,7 +46,7 @@ func TestSetUDV(t *testing.T) {
expectedRows: "", rowsAffected: 0,
}, {
query: "select @foo, @bar, @baz",
expectedRows: `[[VARCHAR("abc") INT64(42) DECIMAL(30.5)]]`, rowsAffected: 1,
expectedRows: `[[VARBINARY("abc") INT64(42) FLOAT64(30.5)]]`, rowsAffected: 1,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't understand why this is changing.

Copy link
Member Author

Choose a reason for hiding this comment

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

set statement e2e test are not added in config.json. This should have changes when I modified varchar to be stored as varbinary in bindvars. As this is not part of regular run, this did not fail.

@harshit-gangal harshit-gangal merged commit b3d981e into vitessio:master Apr 21, 2020
@harshit-gangal harshit-gangal deleted the hg-set-check-log-warn-on-fail branch July 20, 2020 15:42
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