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

fix: broken grammar of LIKELIHOOD #650

Merged
merged 1 commit into from
Dec 17, 2022
Merged

fix: broken grammar of LIKELIHOOD #650

merged 1 commit into from
Dec 17, 2022

Conversation

bajinsheng
Copy link
Collaborator

To avoid the grammar error: The second argument of LIKELIHOOD must be a float number within 0.0 -1.0

@bajinsheng bajinsheng linked an issue Dec 17, 2022 that may be closed by this pull request
@bajinsheng bajinsheng enabled auto-merge (squash) December 17, 2022 09:42
@bajinsheng
Copy link
Collaborator Author

This fix works for SQLite >=3.6.0

Copy link
Contributor

@mrigger mrigger left a comment

Choose a reason for hiding this comment

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

I assume with this change, we can also remove the corresponding expected error below?

errors.add("second argument to likelihood() must be a constant between 0.0 and 1.0");

@bajinsheng
Copy link
Collaborator Author

Oh yes. Didn't notice that.

Copy link
Contributor

@mrigger mrigger left a comment

Choose a reason for hiding this comment

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

LGTM!

@bajinsheng bajinsheng merged commit ca70c6a into sqlancer:master Dec 17, 2022
albertZhangTJ pushed a commit to albertZhangTJ/sqlancer-lancerfuzz that referenced this pull request Dec 19, 2022
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.

Support QPG
2 participants