diff options
author | jorlow@chromium.org <jorlow@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529> | 2011-03-22 23:24:02 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529> | 2011-03-22 23:24:02 +0000 |
commit | 8303bb1b33a4db1d688d32f9be10976b0b54f209 (patch) | |
tree | 01802e7d30e43809b4a8c62a073c11c6037eb8f6 /table/format.cc | |
parent | 6d243ebf79640525a94fab280efeb5a46c994af6 (diff) | |
download | leveldb-8303bb1b33a4db1d688d32f9be10976b0b54f209.tar.gz |
Pull from upstream.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@14 62dab493-f737-651d-591e-8d6aee1b9529
Diffstat (limited to 'table/format.cc')
-rw-r--r-- | table/format.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/table/format.cc b/table/format.cc index d292dad..191a9bd 100644 --- a/table/format.cc +++ b/table/format.cc @@ -106,9 +106,9 @@ Status ReadBlock(RandomAccessFile* file, // Ok break; - case kLightweightCompression: { + case kSnappyCompression: { std::string decompressed; - if (!port::Lightweight_Uncompress(data, n, &decompressed)) { + if (!port::Snappy_Uncompress(data, n, &decompressed)) { delete[] buf; s = Status::Corruption("corrupted compressed block contents"); return s; |