summaryrefslogtreecommitdiffstats
path: root/src/rocksdb/utilities/wal_filter.cc
blob: 98bba361003a3f3967f7af9a26eb93b849ae6f72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.

#include "rocksdb/wal_filter.h"

#include <memory>

#include "rocksdb/convenience.h"
#include "rocksdb/options.h"
#include "rocksdb/utilities/customizable_util.h"

namespace ROCKSDB_NAMESPACE {
Status WalFilter::CreateFromString(const ConfigOptions& config_options,
                                   const std::string& value,
                                   WalFilter** filter) {
  Status s =
      LoadStaticObject<WalFilter>(config_options, value, nullptr, filter);
  return s;
}

}  // namespace ROCKSDB_NAMESPACE