aboutsummaryrefslogtreecommitdiff
path: root/db2/txn/txn.src
blob: 40bb63ecb65b6b6c146e1c1c498bf90ca3cc9770 (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
30
31
/*-
 * See the file LICENSE for redistribution information.
 *
 * Copyright (c) 1996, 1997
 *	Sleepycat Software.  All rights reserved.
 *
 *	@(#)txn.src	10.1 (Sleepycat) 4/12/97
 *
 * This is the source file used to create the logging functions for the
 * transaction system.
 */
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