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

Emit the correct instruction for add_row_with_key(none) #3227

Merged
merged 1 commit into from
Jan 25, 2019

Conversation

tgoyne
Copy link
Member

@tgoyne tgoyne commented Jan 25, 2019

The add_row_with_key instruction can't express a null int key, so instead we emit a row insert plus set null. This needs to set the variant as SetUnique for sync to handle this properly.

I don't think this bug has any observable effects for a non-sync realm so there's nothing to test here.

The add_row_with_key instruction can't express a null int key, so instead we
emit a row insert plus set null. This needs to set the variant as SetUnique for
sync to handle this properly.
@tgoyne tgoyne self-assigned this Jan 25, 2019
Copy link
Contributor

@ironage ironage left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Copy link
Contributor

@kspangsege kspangsege left a comment

Choose a reason for hiding this comment

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

Looks good to me too.

@ironage ironage merged commit 4c33fa0 into master Jan 25, 2019
@realm-probot
Copy link

realm-probot bot commented Jan 25, 2019

Hey - looks like you forgot to add a T:* label - could you please add one?

@jedelbo
Copy link
Contributor

jedelbo commented Jan 26, 2019

This PR made src/external/pegtl go back in time.

@bmunkholm bmunkholm deleted the tg/null-int-pk branch February 27, 2019 11:16
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants