From c66d53feed4c480fae7ffa77e49c288e4cd1432b Mon Sep 17 00:00:00 2001 From: Andres Noetzli Date: Wed, 9 Sep 2015 16:36:19 -0700 Subject: [PATCH] Fixed minor issue in CompressionTypeSupported() Summary: CompressionTypeSupported was returning LZ4_Supported() for kZSTDNotFinalCompression. This patch changes it to ZSTD_Supported(). Test Plan: make clean all check Reviewers: rven, anthony, yhchiang, sdong, igor Reviewed By: igor Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D46521 --- util/compression.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/compression.h b/util/compression.h index c550b8800..dd4d0135f 100644 --- a/util/compression.h +++ b/util/compression.h @@ -89,7 +89,7 @@ inline bool CompressionTypeSupported(CompressionType compression_type) { case kLZ4HCCompression: return LZ4_Supported(); case kZSTDNotFinalCompression: - return LZ4_Supported(); + return ZSTD_Supported(); default: assert(false); return false;