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 bad iterator situation #32

Merged
merged 1 commit into from Apr 30, 2019
Merged

Conversation

jrolli
Copy link
Collaborator

@jrolli jrolli commented Apr 26, 2019

Fixes the issue identified in #30. Specifically, the first table for the iterator may not contain any tuples. In this situation, we ended up derefencing a nullptr in SqlTable::Scan. The solution is to call AdvanceOnEndOfTable_ on it before returning it to the caller.

@yashNaN yashNaN merged commit c330036 into yashNaN:schema_change Apr 30, 2019
@jrolli jrolli deleted the hotfix-scan branch May 5, 2019 16:53
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.

None yet

2 participants