2 * See the file LICENSE for redistribution information.
4 * Copyright (c) 2011, 2012 Oracle and/or its affiliates. All rights reserved.
15 DbHeapRecordId::DbHeapRecordId()
17 DB_HEAP_RID *rid = this;
18 memset(rid, 0, sizeof(DB_HEAP_RID));
21 DbHeapRecordId::DbHeapRecordId(db_pgno_t pgno_arg, db_indx_t indx_arg)
23 DB_HEAP_RID *rid = this;
24 memset(rid, 0, sizeof(DB_HEAP_RID));
29 DbHeapRecordId::~DbHeapRecordId()
33 DbHeapRecordId::DbHeapRecordId(const DbHeapRecordId &that)
35 const DB_HEAP_RID *from = &that;
36 memcpy((DB_HEAP_RID *)this, from, sizeof(DB_HEAP_RID));
39 DbHeapRecordId &DbHeapRecordId::operator = (const DbHeapRecordId &that)
42 const DB_HEAP_RID *from = &that;
43 memcpy((DB_HEAP_RID *)this, from, sizeof(DB_HEAP_RID));