Skip to content

fix: #181 - Do not error if there is nothing to read - #182

Merged
martin-g merged 1 commit into
mainfrom
issue-rs-181-single-null-record
Apr 15, 2025
Merged

martin-g merged 1 commit into
mainfrom
issue-rs-181-single-null-record

Conversation

@martin-g

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
@martin-g
martin-g requested a review from Copilot April 15, 2025 08:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

avro/src/reader.rs:202

  • Consider adding an inline comment explaining why the additional check 'b_original != 0' is necessary to prevent an infinite loop when no bytes are consumed.
if b_original != 0 && b_original == block_bytes.len() {

@martin-g martin-g changed the title Fixes #181 - Do not error if there is nothing to read fix: #181 - Do not error if there is nothing to read Apr 15, 2025
@martin-g
martin-g merged commit 6629327 into main Apr 15, 2025
@martin-g
martin-g deleted the issue-rs-181-single-null-record branch April 16, 2025 05:25
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.

2 participants