~ubuntu-branches/debian/jessie/armory/jessie

« back to all changes in this revision

Viewing changes to cppForSwig/leveldb/util/options.cc

  • Committer: Package Import Robot
  • Author(s): Joseph Bisch
  • Date: 2014-10-07 10:22:45 UTC
  • Revision ID: package-import@ubuntu.com-20141007102245-2s3x3rhjxg689hek
Tags: upstream-0.92.3
ImportĀ upstreamĀ versionĀ 0.92.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
 
2
// Use of this source code is governed by a BSD-style license that can be
 
3
// found in the LICENSE file. See the AUTHORS file for names of contributors.
 
4
 
 
5
#include "leveldb/options.h"
 
6
 
 
7
#include "leveldb/comparator.h"
 
8
#include "leveldb/env.h"
 
9
 
 
10
namespace leveldb {
 
11
 
 
12
Options::Options()
 
13
    : comparator(BytewiseComparator()),
 
14
      create_if_missing(false),
 
15
      error_if_exists(false),
 
16
      paranoid_checks(false),
 
17
      env(Env::Default()),
 
18
      info_log(NULL),
 
19
      write_buffer_size(4<<20),
 
20
      max_open_files(1000),
 
21
      block_cache(NULL),
 
22
      block_size(4096),
 
23
      block_restart_interval(16),
 
24
      compression(kSnappyCompression),
 
25
      filter_policy(NULL) {
 
26
}
 
27
 
 
28
 
 
29
}  // namespace leveldb