mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 22:44:05 +00:00
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:
parent
f3f2032c46
commit
c66d53feed
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue