1/*
2 * drv_memory_ce.c
3 *
4 * Copyright (C) 2016 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#include "base/datamodel.h"
24#include "fabric/partition.h"
25#include "storage/flat.h"
26#include "storage/storage.h"
27
28
29void
30as_storage_start_tomb_raider_memory(as_namespace* ns)
31{
32 // Tomb raider is for enterprise version only.
33}
34
35
36int
37as_storage_record_write_memory(as_storage_rd* rd)
38{
39 // Make a pickle if needed. (No pickle needed for drop.)
40 if (as_bin_inuse_has(rd) && rd->keep_pickle) {
41 as_flat_pickle_record(rd);
42 }
43
44 return 0;
45}
46
47void
48as_storage_load_pmeta_memory(as_namespace *ns, as_partition *p)
49{
50}
51