Closed sunchao closed 6 years ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
encodings/encoding.rs | 3 | 94.96% | ||
<!-- | Total: | 3 | --> |
Totals | |
---|---|
Change from base Build 551: | 0.02% |
Covered Lines: | 11088 |
Relevant Lines: | 11624 |
Merged. Thanks @sadikovi for the review :)
If flush_buffer() doesn't reset the previous vector, the first prefix len the encoder write in the next put() call will potentially be positive. However, in set_data() DeltaByteArrayDecoder will clear previous_value, and therefore IndexOutOfBound will occur if we try to access it using the previous position prefix len.
Fixes #47.