Changeset: e128969f991b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/e128969f991b
Modified Files:
common/stream/mapi_stream.c
documentation/source/binary-resultset.rst
Branch: binresultset
Log Message:
Fix indent and copyright year.
diffs (38 lines):
diff --git a/common/stream/mapi_stream.c b/common/stream/mapi_stream.c
--- a/common/stream/mapi_stream.c
+++ b/common/stream/mapi_stream.c
@@ -13,14 +13,15 @@
#include "stream_internal.h"
#include "mapi_prompt.h"
-static ssize_t byte_counting_write(stream *restrict s, const void *restrict
buf, size_t elmsize, size_t cnt)
+static ssize_t
+byte_counting_write(stream *restrict s, const void *restrict buf, size_t
elmsize, size_t cnt)
{
- uint64_t *counter = (uint64_t*) s->stream_data.p;
- ssize_t nwritten = s->inner->write(s->inner, buf, elmsize, cnt);
- if (nwritten >= 0) {
- *counter += elmsize * nwritten;
- }
- return nwritten;
+ uint64_t *counter = (uint64_t*) s->stream_data.p;
+ ssize_t nwritten = s->inner->write(s->inner, buf, elmsize, cnt);
+ if (nwritten >= 0) {
+ *counter += elmsize * nwritten;
+ }
+ return nwritten;
}
diff --git a/documentation/source/binary-resultset.rst
b/documentation/source/binary-resultset.rst
--- a/documentation/source/binary-resultset.rst
+++ b/documentation/source/binary-resultset.rst
@@ -2,7 +2,7 @@
.. License, v. 2.0. If a copy of the MPL was not distributed with this
.. file, You can obtain one at http://mozilla.org/MPL/2.0/.
..
-.. Copyright 1997 - July 2008 CWI, August 2008 - 2022 MonetDB B.V.
+.. Copyright 1997 - July 2008 CWI, August 2008 - 2023 MonetDB B.V.
************************
Binary Result set format
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]