?? qam.src
字號:
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 1999-2002 * Sleepycat Software. All rights reserved. * * $Id: qam.src,v 11.28 2002/04/17 19:03:13 krinsky Exp $ */PREFIX __qamDBPRIVATEINCLUDE #include "db_config.h"INCLUDEINCLUDE #ifndef NO_SYSTEM_INCLUDESINCLUDE #include <sys/types.h>INCLUDEINCLUDE #include <ctype.h>INCLUDE #include <string.h>INCLUDE #endifINCLUDEINCLUDE #include "db_int.h"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/qam.h"INCLUDE #include "dbinc/rep.h"INCLUDE #include "dbinc/txn.h"INCLUDE/* * incfirst * Used when we increment first_recno. */BEGIN incfirst 84DB fileid int32_t ldARG recno db_recno_t luWRLOCK meta_pgno db_pgno_t luEND/* * mvptr * Used when we change one or both of cur_recno and first_recno. */BEGIN mvptr 85ARG opcode u_int32_t luDB fileid int32_t ldARG old_first db_recno_t luARG new_first db_recno_t luARG old_cur db_recno_t luARG new_cur db_recno_t luPOINTER metalsn DB_LSN * luWRLOCK meta_pgno db_pgno_t luEND/* * del * Used when we delete a record. * recno is the record that is being deleted. */BEGIN del 79DB fileid int32_t ldPOINTER lsn DB_LSN * luWRLOCK pgno db_pgno_t luARG indx u_int32_t luARG recno db_recno_t luEND/* * add * Used when we put a record on a page. * recno is the record being added. * data is the record itself. */BEGIN add 80DB fileid int32_t ldPOINTER lsn DB_LSN * luWRLOCK pgno db_pgno_t luARG indx u_int32_t luARG recno db_recno_t luDBT data DBT sARG vflag u_int32_t luDBT olddata DBT sEND/* * delext * Used when we delete a record in extent based queue. * recno is the record that is being deleted. */BEGIN delext 83DB fileid int32_t ldPOINTER lsn DB_LSN * luARG pgno db_pgno_t luARG indx u_int32_t luARG recno db_recno_t luDBT data DBT sEND
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -