fork of https://github.com/rust-rocksdb/rust-rocksdb for nextgraph
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
796 B
23 lines
796 B
1 year ago
|
// 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, filter);
|
||
|
return s;
|
||
|
}
|
||
|
|
||
|
} // namespace ROCKSDB_NAMESPACE
|