| 1 | /* |
| 2 | * truncate_ce.c |
| 3 | * |
| 4 | * Copyright (C) 2017-2019 Aerospike, Inc. |
| 5 | * |
| 6 | * Portions may be licensed to Aerospike, Inc. under one or more contributor |
| 7 | * license agreements. |
| 8 | * |
| 9 | * This program is free software: you can redistribute it and/or modify it under |
| 10 | * the terms of the GNU Affero General Public License as published by the Free |
| 11 | * Software Foundation, either version 3 of the License, or (at your option) any |
| 12 | * later version. |
| 13 | * |
| 14 | * This program is distributed in the hope that it will be useful, but WITHOUT |
| 15 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 16 | * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more |
| 17 | * details. |
| 18 | * |
| 19 | * You should have received a copy of the GNU Affero General Public License |
| 20 | * along with this program. If not, see http://www.gnu.org/licenses/ |
| 21 | */ |
| 22 | |
| 23 | //========================================================== |
| 24 | // Includes. |
| 25 | // |
| 26 | |
| 27 | #include "base/truncate.h" |
| 28 | |
| 29 | #include <stdbool.h> |
| 30 | #include <stdint.h> |
| 31 | |
| 32 | #include "base/datamodel.h" |
| 33 | |
| 34 | |
| 35 | //========================================================== |
| 36 | // Public API. |
| 37 | // |
| 38 | |
| 39 | void |
| 40 | as_truncate_done_startup(as_namespace* ns) |
| 41 | { |
| 42 | } |
| 43 | |
| 44 | |
| 45 | void |
| 46 | as_truncate_list_cenotaphs(as_namespace* ns) |
| 47 | { |
| 48 | } |
| 49 | |
| 50 | |
| 51 | bool |
| 52 | as_truncate_lut_is_truncated(uint64_t rec_lut, as_namespace* ns, |
| 53 | const char* set_name, uint32_t set_name_len) |
| 54 | { |
| 55 | return false; |
| 56 | } |
| 57 | |
| 58 | |
| 59 | //========================================================== |
| 60 | // Private API - for enterprise separation only. |
| 61 | // |
| 62 | |
| 63 | void |
| 64 | truncate_startup_hash_init(as_namespace* ns) |
| 65 | { |
| 66 | } |
| 67 | |
| 68 | |
| 69 | void |
| 70 | truncate_action_startup(as_namespace* ns, const char* set_name, uint64_t lut) |
| 71 | { |
| 72 | } |
| 73 | |
| 74 | |