summaryrefslogtreecommitdiff
path: root/table/format.cc
diff options
context:
space:
mode:
authorjorlow@chromium.org <jorlow@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529>2011-03-22 23:24:02 +0000
committerjorlow@chromium.org <jorlow@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529>2011-03-22 23:24:02 +0000
commit8303bb1b33a4db1d688d32f9be10976b0b54f209 (patch)
tree01802e7d30e43809b4a8c62a073c11c6037eb8f6 /table/format.cc
parent6d243ebf79640525a94fab280efeb5a46c994af6 (diff)
downloadleveldb-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.cc4
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;