From b047b7591a337b8633bf734442eac55f4e22d753 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Mon, 13 Nov 2023 08:57:46 +0800 Subject: [PATCH] fix: fix syntax error. --- source/util/src/tdecompress.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/util/src/tdecompress.c b/source/util/src/tdecompress.c index 2763e6fd76..f32a4014d6 100644 --- a/source/util/src/tdecompress.c +++ b/source/util/src/tdecompress.c @@ -52,6 +52,7 @@ int32_t tsDecompressIntImpl_Hw(const char *const input, const int32_t nelements, int32_t _pos = 0; int64_t prev_value = 0; +#if __AVX2__ while (1) { if (_pos == nelements) break; @@ -231,6 +232,7 @@ int32_t tsDecompressIntImpl_Hw(const char *const input, const int32_t nelements, ip += LONG_BYTES; } +#endif return nelements * word_length; }