aboutsummaryrefslogtreecommitdiff
path: root/db2/txn/txn.src
blob: 04809b69d6a0af3c220f83dca99dd7cb3ddc714f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*-
 * See the file LICENSE for redistribution information.
 *
 * Copyright (c) 1996, 1997, 1998
 *	Sleepycat Software.  All rights reserved.
 *
 *	@(#)txn.src	10.3 (Sleepycat) 4/10/98
 */

PREFIX	txn

/*
 * Everything except for checkpointing takes the same logging routine.
 */
BEGIN	regop
ARG	opcode		u_int32_t	lu
END

/*
 * This is the checkpoint record. It contains the lsn that the checkpoint
 * guarantees and a pointer to the last checkpoint so that we can walk
 * backwards by checkpoint.
 * ckp_lsn:
 * last_ckp:
 */
BEGIN	ckp
POINTER	ckp_lsn		DB_LSN *	lu
POINTER	last_ckp	DB_LSN *	lu
END