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