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

[SQLLINE-260] Validate given values for enum type properties #261

Closed
wants to merge 3 commits into from

Conversation

snuyanzin
Copy link
Collaborator

The PR implements validation of enum type property's values before setting

fixes #260

@@ -1603,11 +1601,6 @@ int print(ResultSet rs, DispatchCallback callback) throws SQLException {
}
}

if (f == null) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This check becomes useless as after this commit the check for valid output format is going to be done before property setting

@julianhyde
Copy link
Owner

Merged as ba81eda, fixes #260.

@julianhyde julianhyde closed this Mar 10, 2019
@snuyanzin snuyanzin deleted the VALIDATE_WHILE_SET branch March 11, 2019 10:28
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.

Validate values for enum type properties before setting
2 participants