diff options
author | gabor@google.com <gabor@google.com@62dab493-f737-651d-591e-8d6aee1b9529> | 2011-07-19 23:36:47 +0000 |
---|---|---|
committer | gabor@google.com <gabor@google.com@62dab493-f737-651d-591e-8d6aee1b9529> | 2011-07-19 23:36:47 +0000 |
commit | 6872ace90110799f87402cbc594c4cbf1bc474c7 (patch) | |
tree | e6292e5ec9404ddab7c1de7b7272927161b06232 /include/leveldb | |
parent | 6699c7ebe68fba9673ea7a78b54e0eb558102301 (diff) | |
download | leveldb-6872ace90110799f87402cbc594c4cbf1bc474c7.tar.gz |
Sun Studio support, and fix for test related memory fixes.
- LevelDB patch for Sun Studio
Based on a patch submitted by Theo Schlossnagle - thanks!
This fixes Issue 17.
- Fix a couple of test related memory leaks.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@38 62dab493-f737-651d-591e-8d6aee1b9529
Diffstat (limited to 'include/leveldb')
-rw-r--r-- | include/leveldb/options.h | 2 | ||||
-rw-r--r-- | include/leveldb/status.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/leveldb/options.h b/include/leveldb/options.h index a0afbf2..0d4f6cd 100644 --- a/include/leveldb/options.h +++ b/include/leveldb/options.h @@ -23,7 +23,7 @@ enum CompressionType { // NOTE: do not change the values of existing entries, as these are // part of the persistent format on disk. kNoCompression = 0x0, - kSnappyCompression = 0x1, + kSnappyCompression = 0x1 }; // Options to control the behavior of a database (passed to DB::Open) diff --git a/include/leveldb/status.h b/include/leveldb/status.h index 6796fdd..8fe4442 100644 --- a/include/leveldb/status.h +++ b/include/leveldb/status.h @@ -72,7 +72,7 @@ class Status { kCorruption = 2, kNotSupported = 3, kInvalidArgument = 4, - kIOError = 5, + kIOError = 5 }; Code code() const { |