#include "config.h"
#ifndef NO_SYSTEM_INCLUDES
#include <ctype.h>
#include <errno.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#endif
#include "db_int.h"
#include "db_page.h"
#include "db_dispatch.h"
#include "txn.h"
#include "db_am.h"
/*
* PUBLIC: int __txn_regop_log
* PUBLIC: __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t,
* PUBLIC: u_int32_t));
*/
{
int ret;
} else
+ sizeof(opcode);
return (ret);
#ifdef DIAGNOSTIC
#endif
return (ret);
}
/*
* PUBLIC: int __txn_regop_print
* PUBLIC: __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
*/
int
int notused2;
void *notused3;
{
u_int32_t i;
int ret;
i = 0;
ch = 0;
notused2 = 0;
return (ret);
printf("[%lu][%lu]txn_regop: rec: %lu txnid %lx prevlsn [%lu][%lu]\n",
printf("\n");
return (0);
}
/*
* PUBLIC: int __txn_regop_read __P((void *, __txn_regop_args **));
*/
int
void *recbuf;
{
int ret;
if (ret != 0)
return (ret);
return (0);
}
/*
* PUBLIC: int __txn_ckp_log
* PUBLIC: __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t,
* PUBLIC: DB_LSN *, DB_LSN *));
*/
{
int ret;
} else
+ sizeof(*ckp_lsn)
+ sizeof(*last_ckp);
return (ret);
else
else
#ifdef DIAGNOSTIC
#endif
return (ret);
}
/*
* PUBLIC: int __txn_ckp_print
* PUBLIC: __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
*/
int
int notused2;
void *notused3;
{
u_int32_t i;
int ret;
i = 0;
ch = 0;
notused2 = 0;
return (ret);
printf("[%lu][%lu]txn_ckp: rec: %lu txnid %lx prevlsn [%lu][%lu]\n",
printf("\tckp_lsn: [%lu][%lu]\n",
printf("\tlast_ckp: [%lu][%lu]\n",
printf("\n");
return (0);
}
/*
* PUBLIC: int __txn_ckp_read __P((void *, __txn_ckp_args **));
*/
int
void *recbuf;
{
int ret;
if (ret != 0)
return (ret);
return (0);
}
/*
* PUBLIC: int __txn_xa_regop_log
* PUBLIC: __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t,
* PUBLIC: u_int32_t, const DBT *, int32_t, u_int32_t,
* PUBLIC: u_int32_t, DB_LSN *));
*/
{
int ret;
} else
+ sizeof(opcode)
+ sizeof(formatID)
+ sizeof(gtrid)
+ sizeof(bqual)
+ sizeof(*begin_lsn);
return (ret);
zero = 0;
} else {
}
else
#ifdef DIAGNOSTIC
#endif
return (ret);
}
/*
* PUBLIC: int __txn_xa_regop_print
* PUBLIC: __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
*/
int
int notused2;
void *notused3;
{
u_int32_t i;
int ret;
i = 0;
ch = 0;
notused2 = 0;
return (ret);
printf("[%lu][%lu]txn_xa_regop: rec: %lu txnid %lx prevlsn [%lu][%lu]\n",
printf("\txid: ");
else
}
printf("\n");
printf("\tbegin_lsn: [%lu][%lu]\n",
printf("\n");
return (0);
}
/*
* PUBLIC: int __txn_xa_regop_read __P((void *, __txn_xa_regop_args **));
*/
int
void *recbuf;
{
int ret;
if (ret != 0)
return (ret);
return (0);
}
/*
* PUBLIC: int __txn_child_log
* PUBLIC: __P((DB_LOG *, DB_TXN *, DB_LSN *, u_int32_t,
* PUBLIC: u_int32_t, u_int32_t));
*/
{
int ret;
} else
+ sizeof(opcode)
+ sizeof(parent);
return (ret);
#ifdef DIAGNOSTIC
#endif
return (ret);
}
/*
* PUBLIC: int __txn_child_print
* PUBLIC: __P((DB_LOG *, DBT *, DB_LSN *, int, void *));
*/
int
int notused2;
void *notused3;
{
u_int32_t i;
int ret;
i = 0;
ch = 0;
notused2 = 0;
return (ret);
printf("[%lu][%lu]txn_child: rec: %lu txnid %lx prevlsn [%lu][%lu]\n",
printf("\n");
return (0);
}
/*
* PUBLIC: int __txn_child_read __P((void *, __txn_child_args **));
*/
int
void *recbuf;
{
int ret;
if (ret != 0)
return (ret);
return (0);
}
/*
* PUBLIC: int __txn_init_print __P((DB_ENV *));
*/
int
{
int ret;
__txn_regop_print, DB_txn_regop)) != 0)
return (ret);
__txn_ckp_print, DB_txn_ckp)) != 0)
return (ret);
__txn_xa_regop_print, DB_txn_xa_regop)) != 0)
return (ret);
__txn_child_print, DB_txn_child)) != 0)
return (ret);
return (0);
}
/*
* PUBLIC: int __txn_init_recover __P((DB_ENV *));
*/
int
{
int ret;
__txn_regop_recover, DB_txn_regop)) != 0)
return (ret);
__txn_ckp_recover, DB_txn_ckp)) != 0)
return (ret);
__txn_xa_regop_recover, DB_txn_xa_regop)) != 0)
return (ret);
__txn_child_recover, DB_txn_child)) != 0)
return (ret);
return (0);
}