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
This commit is contained in:
Andres Noetzli 2015-09-09 16:36:19 -07:00
parent f3f2032c46
commit c66d53feed

View file

@ -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;