Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Fix slice container updates #1997

Merged
merged 1 commit into from Jun 11, 2019
Merged

Fix slice container updates #1997

merged 1 commit into from Jun 11, 2019

Conversation

seebs
Copy link
Contributor

@seebs seebs commented Jun 10, 2019

The "Update" case for Slice containers is broken, and can
insert a container without inserting a key. Fix this by using
the existing insert/add logic.

Overview

Silly bug, that I don't think was actually affecting us yet, because I don't think the Update function is actually being hit in current code paths, but it's still probably worth fixing.

Fixes #1991.

The "Update" case for Slice containers is broken, and can
insert a container without inserting a key. Fix this by using
the existing insert/add logic.
@seebs seebs requested a review from shaqque June 10, 2019 20:24
@shaqque
Copy link
Contributor

shaqque commented Jun 11, 2019

nice catch with the keys. Looks good to me!

@seebs seebs merged commit fe590d4 into FeatureBaseDB:master Jun 11, 2019
@codysoyland codysoyland changed the title handle insertions correctly Fix slice container updates Sep 17, 2019
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.

rowCache introduced possibly-broken Update logic in sliceContainers
3 participants