]>
git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/utilities/wal_filter.cc
1 // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
2 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. See the AUTHORS file for names of contributors.
6 #include "rocksdb/wal_filter.h"
10 #include "rocksdb/convenience.h"
11 #include "rocksdb/options.h"
12 #include "rocksdb/utilities/customizable_util.h"
14 namespace ROCKSDB_NAMESPACE
{
15 Status
WalFilter::CreateFromString(const ConfigOptions
& config_options
,
16 const std::string
& value
,
19 LoadStaticObject
<WalFilter
>(config_options
, value
, nullptr, filter
);
23 } // namespace ROCKSDB_NAMESPACE