mariadb/bdb/db/crdel.src

47 lines
1 KiB
Text
Raw Normal View History

2001-03-05 01:42:05 +01:00
/*-
* See the file LICENSE for redistribution information.
*
2002-10-30 12:57:05 +01:00
* Copyright (c) 1996-2002
2001-03-05 01:42:05 +01:00
* Sleepycat Software. All rights reserved.
*
2002-10-30 12:57:05 +01:00
* $Id: crdel.src,v 11.24 2002/04/17 19:02:57 krinsky Exp $
2001-03-05 01:42:05 +01:00
*/
2002-10-30 12:57:05 +01:00
PREFIX __crdel
DBPRIVATE
2001-03-05 01:42:05 +01:00
INCLUDE #include "db_config.h"
INCLUDE
INCLUDE #ifndef NO_SYSTEM_INCLUDES
INCLUDE #include <sys/types.h>
INCLUDE
INCLUDE #include <ctype.h>
INCLUDE #include <string.h>
INCLUDE #endif
INCLUDE
INCLUDE #include "db_int.h"
2002-10-30 12:57:05 +01:00
INCLUDE #include "dbinc/crypto.h"
INCLUDE #include "dbinc/db_page.h"
INCLUDE #include "dbinc/db_dispatch.h"
INCLUDE #include "dbinc/db_am.h"
INCLUDE #include "dbinc/log.h"
INCLUDE #include "dbinc/rep.h"
INCLUDE #include "dbinc/txn.h"
2001-03-05 01:42:05 +01:00
INCLUDE
/*
* Metasub: log the creation of a subdatabase meta data page.
*
* fileid: identifies the file being acted upon.
* pgno: page number on which to write this meta-data page
* page: the actual meta-data page
* lsn: lsn of the page.
*/
BEGIN metasub 142
2002-10-30 12:57:05 +01:00
DB fileid int32_t ld
WRLOCK pgno db_pgno_t lu
PGDBT page DBT s
2001-03-05 01:42:05 +01:00
POINTER lsn DB_LSN * lu
END