You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by gi...@apache.org on 2023/09/07 01:25:18 UTC
[arrow-nanoarrow] branch main updated: Update dist/ for commit 03a0e691288ea518534059dd21c99f8ec5ffe9a2
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-nanoarrow.git
The following commit(s) were added to refs/heads/main by this push:
new 7653929 Update dist/ for commit 03a0e691288ea518534059dd21c99f8ec5ffe9a2
7653929 is described below
commit 7653929bfd4115fa8515397e9dc8ee586f928597
Author: GitHub Actions <ac...@github.com>
AuthorDate: Thu Sep 7 01:25:13 2023 +0000
Update dist/ for commit 03a0e691288ea518534059dd21c99f8ec5ffe9a2
---
dist/nanoarrow_ipc.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dist/nanoarrow_ipc.c b/dist/nanoarrow_ipc.c
index 9ad5212..437b61a 100644
--- a/dist/nanoarrow_ipc.c
+++ b/dist/nanoarrow_ipc.c
@@ -22250,7 +22250,14 @@ static int ArrowIpcArrayStreamReaderNextBody(
&bytes_read, &private_data->error));
private_data->body.size_bytes += bytes_read;
- return NANOARROW_OK;
+ if (bytes_read != bytes_to_read) {
+ ArrowErrorSet(&private_data->error,
+ "Expected to be able to read %ld bytes for message body but got %ld",
+ (long)bytes_to_read, bytes_read);
+ return ESPIPE;
+ } else {
+ return NANOARROW_OK;
+ }
}
static int ArrowIpcArrayStreamReaderReadSchemaIfNeeded(