Skip to content

release-19.2: sql: fix bug where some session vars couldn't be set to "on" or "off" #46219

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

Merged
merged 1 commit into from
Mar 19, 2020

Conversation

rohany
Copy link
Contributor

@rohany rohany commented Mar 17, 2020

Backport 1/1 commits from #46163.

/cc @cockroachdb/release


Session variables were incorrectly erroring out on
string inputs even though string values of "on" and
"off" are accepted.

Fixes #46161.

Release justification: bug fix
Release note (bug fix): This PR fixes a bug where various session
variables whose value would display as "on" or "off" could not be
set to the values "on" or "off", only true or false.

@rohany rohany requested a review from knz March 17, 2020 20:29
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@knz
Copy link
Contributor

knz commented Mar 18, 2020

i don't know what went wrong but TC is angry at your PR

Session variables were incorrectly erroring out on
string inputs even though string values of "on" and
"off" are accepted.

Fixes cockroachdb#46161.

Release justification: bug fix
Release note (bug fix): This PR fixes a bug where various session
variables whose value would display as "on" or "off" could not be
set to the values "on" or "off", only true or false.
@rohany rohany force-pushed the backport19.2-46163 branch from 8dd40be to ba6c245 Compare March 18, 2020 14:12
@rohany
Copy link
Contributor Author

rohany commented Mar 18, 2020

Woops, fixed

@rohany
Copy link
Contributor Author

rohany commented Mar 19, 2020

cc @knz for stamp

@knz
Copy link
Contributor

knz commented Mar 19, 2020

LGTM - thanks!

@rohany rohany merged commit daa6f5b into cockroachdb:release-19.2 Mar 19, 2020
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.

3 participants