1/*-
2 * See the file LICENSE for redistribution information.
3 *
4 * Copyright (c) 1996, 2013 Oracle and/or its affiliates.  All rights reserved.
5 *
6 * $Id$
7 */
8
9DBPRIVATE
10PREFIX	__crdel
11
12INCLUDE #include "db_int.h"
13INCLUDE #include "dbinc/crypto.h"
14INCLUDE #include "dbinc/db_page.h"
15INCLUDE #include "dbinc/db_dispatch.h"
16INCLUDE #include "dbinc/db_am.h"
17INCLUDE #include "dbinc/txn.h"
18INCLUDE
19
20/*
21 * Metasub: log the creation of a subdatabase meta data page.
22 *
23 * fileid: identifies the file being acted upon.
24 * pgno: page number on which to write this meta-data page
25 * page: the actual meta-data page
26 * lsn: lsn of the page.
27 */
28BEGIN metasub		42	142
29DB	fileid		int32_t		ld
30ARG	pgno		db_pgno_t	lu
31PGDBT	page		DBT		s
32POINTER	lsn		DB_LSN *	lu
33END
34
35/*
36 * Inmem_create: Log the creation of an in-memory database.
37 *
38 * name: Name of the database
39 * fid: File id of the database
40 */
41BEGIN	inmem_create	44	138
42ARG	fileid	int32_t		ld
43DBT	name	DBT		s
44DBT	fid	DBT		s
45ARG	pgsize	u_int32_t	lu
46END
47
48/*
49 * Inmem_rename: Log the renaming of an in-memory only database.
50 *
51 * oldname: database's starting name
52 * newname: database's ending name
53 * fid: fileid
54 */
55BEGIN	inmem_rename	44	139
56DBT	oldname		DBT		s
57DBT	newname		DBT		s
58DBT	fid		DBT		s
59END
60
61/*
62 * Inmem_remove: Log the removal of an in-memory only database.
63 *
64 * name: database's ending name
65 * fid: fileid
66 */
67BEGIN	inmem_remove	44	140
68DBT	name		DBT		s
69DBT	fid		DBT		s
70END
71
72