/src/serenity/Userland/Libraries/LibSQL/Index.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright (c) 2021, Jan de Visser <jan@de-visser.net> |
3 | | * |
4 | | * SPDX-License-Identifier: BSD-2-Clause |
5 | | */ |
6 | | |
7 | | #include <LibSQL/Heap.h> |
8 | | #include <LibSQL/Index.h> |
9 | | #include <LibSQL/TupleDescriptor.h> |
10 | | |
11 | | namespace SQL { |
12 | | |
13 | | Index::Index(Serializer& serializer, NonnullRefPtr<TupleDescriptor> const& descriptor, bool unique, Block::Index block_index) |
14 | 0 | : m_serializer(serializer) |
15 | 0 | , m_descriptor(descriptor) |
16 | 0 | , m_unique(unique) |
17 | 0 | , m_block_index(block_index) |
18 | 0 | { |
19 | 0 | } |
20 | | |
21 | | Index::Index(Serializer& serializer, NonnullRefPtr<TupleDescriptor> const& descriptor, Block::Index block_index) |
22 | 0 | : m_serializer(serializer) |
23 | 0 | , m_descriptor(descriptor) |
24 | 0 | , m_block_index(block_index) |
25 | 0 | { |
26 | 0 | } |
27 | | |
28 | | } |