mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-27 20:43:57 +00:00
WIP: use zstd ZDICT_finalizeDictionary() -- fixes
Summary: ZSTD_VERSION_STRING is not always defined. Reviewers: Andrew Kryczka Tasks: T92484194 Tags: zstd, dictionary, untrained
This commit is contained in:
parent
b4345adc0a
commit
9d35738ec8
|
@ -615,7 +615,11 @@ inline std::string CompressionTypeToString(CompressionType compression_type) {
|
|||
case kXpressCompression:
|
||||
return "Xpress";
|
||||
case kZSTD:
|
||||
#if defined(ZSTD_VERSION_STRING)
|
||||
return "ZSTD (" ZSTD_VERSION_STRING ")";
|
||||
#else
|
||||
return "ZSTD";
|
||||
#endif
|
||||
case kZSTDNotFinalCompression:
|
||||
return "ZSTDNotFinal";
|
||||
case kDisableCompressionOption:
|
||||
|
|
Loading…
Reference in a new issue