diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-07-09 10:01:45 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-07-09 10:01:45 +1000 |
commit | 33692a6a3ad934fa96dd62dfba2ee94fc16d3b01 (patch) | |
tree | 1a7c91366be60345ea609810380bb3dda0953097 /api | |
parent | 29f3c0f7999696d4768f8359430b8c33684400f4 (diff) | |
download | mongo-33692a6a3ad934fa96dd62dfba2ee94fc16d3b01.tar.gz |
Detect at build time whether we need to load the snappy compression extension.
Diffstat (limited to 'api')
-rw-r--r-- | api/leveldb/leveldb_wt.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/leveldb/leveldb_wt.cc b/api/leveldb/leveldb_wt.cc index a71cc60aa16..081dd5f4884 100644 --- a/api/leveldb/leveldb_wt.cc +++ b/api/leveldb/leveldb_wt.cc @@ -242,7 +242,7 @@ leveldb::DB::Open(const Options &options, const std::string &name, leveldb::DB * } if (options.error_if_exists) s_conn << "exclusive,"; -#if 0 +#ifndef HAVE_BUILTIN_EXTENSION_SNAPPY if (options.compression == kSnappyCompression) s_conn << "extensions=[libwiredtiger_snappy.so],"; #endif |