Changeset: c22620e63894 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c22620e63894
Modified Files:
        common/stream/stream.c
Branch: protocol
Log Message:

Fix compilation issue for systems without LZ4.


diffs (13 lines):

diff --git a/common/stream/stream.c b/common/stream/stream.c
--- a/common/stream/stream.c
+++ b/common/stream/stream.c
@@ -4039,8 +4039,8 @@ decompress_stream_data(bs2 *s) {
                return -1;
 #endif
        } else if (s->comp == COMPRESSION_LZ4) {
+#ifdef HAVE_LIBLZ4
                int uncompressed_length = (int) s->bufsiz;
-#ifdef HAVE_LIBLZ4
                if ((uncompressed_length = LZ4_decompress_safe(s->compbuf, 
s->buf, s->itotal, uncompressed_length)) <= 0) {
                        s->s->errnr = uncompressed_length;
                        return -1;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to