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 past-the-end iteration. #231

Closed
wants to merge 1 commit into from
Closed

Fix past-the-end iteration. #231

wants to merge 1 commit into from

Conversation

ienkovich
Copy link
Contributor

No description provided.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 16, 2021
@@ -36,6 +36,9 @@ class ArgumentsCtx {
}

bool operator==(const ArgumentsCtx& rhs) const {
if (types_.size() != rhs.types().size()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a test case and verify it works with nullptr ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I don't get what you mean by nullptr here since added code doesn't work with pointers.

I want to fix a segfault which happens when vectors of different sizes are compared (in my case it fails to compare types for round(INTEGER, INTEGER) and round(INTEGER)). I simply cannot start Prestissimo server with the current main branch.

@ienkovich
Copy link
Contributor Author

Fixed by #245

@ienkovich ienkovich closed this Sep 20, 2021
rui-mo pushed a commit to rui-mo/velox that referenced this pull request Mar 17, 2023
rui-mo pushed a commit to rui-mo/velox that referenced this pull request Mar 17, 2023
rui-mo pushed a commit to rui-mo/velox that referenced this pull request Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants