Coverage Report

Created: 2024-09-08 07:17

/src/rocksdb/db/wide/wide_columns.cc
Line
Count
Source (jump to first uncovered line)
1
//  Copyright (c) Meta Platforms, Inc. and affiliates.
2
//  This source code is licensed under both the GPLv2 (found in the
3
//  COPYING file in the root directory) and Apache 2.0 License
4
//  (found in the LICENSE.Apache file in the root directory).
5
6
#include "rocksdb/wide_columns.h"
7
#include "db/wide/wide_column_serialization.h"
8
9
namespace ROCKSDB_NAMESPACE {
10
11
const Slice kDefaultWideColumnName;
12
13
const WideColumns kNoWideColumns;
14
15
0
Status PinnableWideColumns::CreateIndexForWideColumns() {
16
0
  columns_.clear();
17
18
0
  Slice value_copy = value_;
19
0
  return WideColumnSerialization::Deserialize(value_copy, columns_);
20
0
}
21
22
}  // namespace ROCKSDB_NAMESPACE