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

Fixed system variables #382

Merged
merged 1 commit into from
Apr 23, 2021
Merged

Fixed system variables #382

merged 1 commit into from
Apr 23, 2021

Conversation

Hydrocharged
Copy link
Contributor

No description provided.

@Hydrocharged Hydrocharged requested a review from zachmu April 22, 2021 14:37
Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

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

This looks very good, nice work.

The only thing this is missing is more extensive tests. Specifically I want tests that guarantee that user / session / global vars can all have distinct values with the same name. You have a bit of that in enginetests.go, but only for global / session, not any user vars.

Otherwise looks great

enginetest/variable_queries.go Show resolved Hide resolved
sql/expression/variables.go Outdated Show resolved Hide resolved
sql/parse/parse.go Show resolved Hide resolved
sql/parse/parse.go Outdated Show resolved Hide resolved
sql/errors.go Outdated Show resolved Hide resolved
sql/system_variables.go Show resolved Hide resolved
sql/system_variables.go Show resolved Hide resolved
@Hydrocharged Hydrocharged merged commit d561001 into master Apr 23, 2021
@Hydrocharged Hydrocharged deleted the daylon/vars-2 branch April 23, 2021 13:46
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