Commit ca3dbc71 authored by unknown's avatar unknown

remove all the auto-generated files but NOT vxworks/* ones.

The reason is that vxworks files are most often, one file per directory,
and when such a file is removed directory is gone as well. Though files
are auto-generated, directories aren't.


BitKeeper/deleted/.del-btree_auto.h~94f1be726dad9aff:
  Delete: bdb/dbinc_auto/btree_auto.h
BitKeeper/deleted/.del-crdel_auto.h~e6710e96650dd20f:
  Delete: bdb/dbinc_auto/crdel_auto.h
BitKeeper/deleted/.del-db_auto.h~f994b15bd824ae9b:
  Delete: bdb/dbinc_auto/db_auto.h
BitKeeper/deleted/.del-db_config.h~60184629d0966584:
  Delete: bdb/build_win32/db_config.h
BitKeeper/deleted/.del-db_cxx.h~5ae7eca120f9e810:
  Delete: bdb/build_win32/db_cxx.h
BitKeeper/deleted/.del-db_perf.dsp~5984ea76dd378285:
  Delete: bdb/build_win32/db_perf.dsp
BitKeeper/deleted/.del-db_test.dsp~eb1dbc135441c71c:
  Delete: bdb/build_win32/db_test.dsp
BitKeeper/deleted/.del-dbreg_auto.c~c2549ec52200654b:
  Delete: bdb/dbreg/dbreg_auto.c
BitKeeper/deleted/.del-dbreg_auto.h~c074dd54cca3b504:
  Delete: bdb/dbinc_auto/dbreg_auto.h
BitKeeper/deleted/.del-fileops_auto.h~10df93de4b325f28:
  Delete: bdb/dbinc_auto/fileops_auto.h
BitKeeper/deleted/.del-hash_auto.h~a29a3d2157d8c2ed:
  Delete: bdb/dbinc_auto/hash_auto.h
BitKeeper/deleted/.del-libdb.def~301ea9487fa24bb1:
  Delete: bdb/build_win32/libdb.def
BitKeeper/deleted/.del-qam_auto.h~727bb6f1bc903af6:
  Delete: bdb/dbinc_auto/qam_auto.h
BitKeeper/deleted/.del-rec_dbreg~e359d26bb94bb1c3:
  Delete: bdb/dist/template/rec_dbreg
BitKeeper/deleted/.del-rec_fileops~ef167bd1b983a01:
  Delete: bdb/dist/template/rec_fileops
BitKeeper/deleted/.del-txn_auto.h~5c0ec531297454cf:
  Delete: bdb/dbinc_auto/txn_auto.h
BitKeeper/deleted/.del-DbBtreeStat.java~ae44f148e56d691e:
  Delete: bdb/java/src/com/sleepycat/db/DbBtreeStat.java
BitKeeper/deleted/.del-DbHashStat.java~712355915769120f:
  Delete: bdb/java/src/com/sleepycat/db/DbHashStat.java
BitKeeper/deleted/.del-DbLockStat.java~78219b0a1bd2f053:
  Delete: bdb/java/src/com/sleepycat/db/DbLockStat.java
BitKeeper/deleted/.del-DbLogStat.java~b9922e5d7f3a04aa:
  Delete: bdb/java/src/com/sleepycat/db/DbLogStat.java
BitKeeper/deleted/.del-DbMpoolFStat.java~1e69777aa623d5b4:
  Delete: bdb/java/src/com/sleepycat/db/DbMpoolFStat.java
BitKeeper/deleted/.del-DbQueueStat.java~e1632bb696810690:
  Delete: bdb/java/src/com/sleepycat/db/DbQueueStat.java
BitKeeper/deleted/.del-DbRepStat.java~5dc6f9d61f4ad890:
  Delete: bdb/java/src/com/sleepycat/db/DbRepStat.java
BitKeeper/deleted/.del-DbTxnStat.java~d4408e0452a8ef16:
  Delete: bdb/java/src/com/sleepycat/db/DbTxnStat.java
BitKeeper/deleted/.del-fileops_auto.c~f1dd08f372e83d35:
  Delete: bdb/fileops/fileops_auto.c
BitKeeper/deleted/.del-java_stat_auto.c~2199d8ff9d208c23:
  Delete: bdb/libdb_java/java_stat_auto.c
BitKeeper/deleted/.del-java_stat_auto.h~c2e9f743368f29fb:
  Delete: bdb/libdb_java/java_stat_auto.h
BitKeeper/etc/ignore:
  Added bdb/build_win32/db_config.h bdb/build_win32/db_cxx.h bdb/build_win32/db_perf.dsp bdb/build_win32/db_test.dsp bdb/build_win32/libdb.def bdb/dbinc_auto/btree_auto.h bdb/dbinc_auto/btree_ext.h bdb/dbinc_auto/clib_ext.h bdb/dbinc_auto/common_ext.h bdb/dbinc_auto/crdel_auto.h bdb/dbinc_auto/crypto_ext.h bdb/dbinc_auto/db_auto.h bdb/dbinc_auto/db_ext.h bdb/dbinc_auto/db_server.h bdb/dbinc_auto/dbreg_auto.h bdb/dbinc_auto/dbreg_ext.h bdb/dbinc_auto/env_ext.h bdb/dbinc_auto/ext_185_def.in bdb/dbinc_auto/ext_185_prot.in bdb/dbinc_auto/ext_def.in bdb/dbinc_auto/ext_prot.in bdb/dbinc_auto/fileops_auto.h bdb/dbinc_auto/fileops_ext.h bdb/dbinc_auto/hash_auto.h bdb/dbinc_auto/hash_ext.h bdb/dbinc_auto/hmac_ext.h bdb/dbinc_auto/int_def.in bdb/dbinc_auto/lock_ext.h bdb/dbinc_auto/log_ext.h bdb/dbinc_auto/mp_ext.h bdb/dbinc_auto/mutex_ext.h bdb/dbinc_auto/os_ext.h bdb/dbinc_auto/qam_auto.h bdb/dbinc_auto/qam_ext.h bdb/dbinc_auto/rep_ext.h bdb/dbinc_auto/rpc_client_ext.h bdb/dbinc_auto/rpc_defs.in bdb/dbinc_auto/rpc
parent 0cfa328e
......@@ -516,3 +516,137 @@ vio/test-ssl
vio/test-sslclient
vio/test-sslserver
vio/viotest-ssl
bdb/build_win32/db_config.h
bdb/build_win32/db_cxx.h
bdb/build_win32/db_perf.dsp
bdb/build_win32/db_test.dsp
bdb/build_win32/libdb.def
bdb/dbinc_auto/btree_auto.h
bdb/dbinc_auto/btree_ext.h
bdb/dbinc_auto/clib_ext.h
bdb/dbinc_auto/common_ext.h
bdb/dbinc_auto/crdel_auto.h
bdb/dbinc_auto/crypto_ext.h
bdb/dbinc_auto/db_auto.h
bdb/dbinc_auto/db_ext.h
bdb/dbinc_auto/db_server.h
bdb/dbinc_auto/dbreg_auto.h
bdb/dbinc_auto/dbreg_ext.h
bdb/dbinc_auto/env_ext.h
bdb/dbinc_auto/ext_185_def.in
bdb/dbinc_auto/ext_185_prot.in
bdb/dbinc_auto/ext_def.in
bdb/dbinc_auto/ext_prot.in
bdb/dbinc_auto/fileops_auto.h
bdb/dbinc_auto/fileops_ext.h
bdb/dbinc_auto/hash_auto.h
bdb/dbinc_auto/hash_ext.h
bdb/dbinc_auto/hmac_ext.h
bdb/dbinc_auto/int_def.in
bdb/dbinc_auto/lock_ext.h
bdb/dbinc_auto/log_ext.h
bdb/dbinc_auto/mp_ext.h
bdb/dbinc_auto/mutex_ext.h
bdb/dbinc_auto/os_ext.h
bdb/dbinc_auto/qam_auto.h
bdb/dbinc_auto/qam_ext.h
bdb/dbinc_auto/rep_ext.h
bdb/dbinc_auto/rpc_client_ext.h
bdb/dbinc_auto/rpc_defs.in
bdb/dbinc_auto/rpc_server_ext.h
bdb/dbinc_auto/tcl_ext.h
bdb/dbinc_auto/txn_auto.h
bdb/dbinc_auto/txn_ext.h
bdb/dbinc_auto/xa_ext.h
bdb/dbreg/dbreg_auto.c
bdb/dist/bbb
bdb/dist/template/rec_dbreg
bdb/dist/template/rec_fileops
bdb/examples_c/ex_apprec/ex_apprec_auto.c
bdb/examples_c/ex_apprec/ex_apprec_auto.h
bdb/examples_c/ex_apprec/ex_apprec_template
bdb/fileops/fileops_auto.c
bdb/java/src/com/sleepycat/db/Db.java
bdb/java/src/com/sleepycat/db/DbBtreeStat.java
bdb/java/src/com/sleepycat/db/DbHashStat.java
bdb/java/src/com/sleepycat/db/DbLockStat.java
bdb/java/src/com/sleepycat/db/DbLogStat.java
bdb/java/src/com/sleepycat/db/DbMpoolFStat.java
bdb/java/src/com/sleepycat/db/DbQueueStat.java
bdb/java/src/com/sleepycat/db/DbRepStat.java
bdb/java/src/com/sleepycat/db/DbTxnStat.java
bdb/libdb_java/java_stat_auto.c
bdb/libdb_java/java_stat_auto.h
bdb/rpc_server/c/db_server_proc.c
bdb/rpc_server/c/db_server_proc.sed
bdb/rpc_server/c/db_server_svc.c
bdb/rpc_server/c/db_server_xdr.c
bdb/rpc_server/c/gen_db_server.c
bdb/test/TESTS
bdb/build_win32/db_config.h
bdb/build_win32/db_cxx.h
bdb/build_win32/db_perf.dsp
bdb/build_win32/db_test.dsp
bdb/build_win32/libdb.def
bdb/dbinc_auto/btree_auto.h
bdb/dbinc_auto/btree_ext.h
bdb/dbinc_auto/clib_ext.h
bdb/dbinc_auto/common_ext.h
bdb/dbinc_auto/crdel_auto.h
bdb/dbinc_auto/crypto_ext.h
bdb/dbinc_auto/db_auto.h
bdb/dbinc_auto/db_ext.h
bdb/dbinc_auto/db_server.h
bdb/dbinc_auto/dbreg_auto.h
bdb/dbinc_auto/dbreg_ext.h
bdb/dbinc_auto/env_ext.h
bdb/dbinc_auto/ext_185_def.in
bdb/dbinc_auto/ext_185_prot.in
bdb/dbinc_auto/ext_def.in
bdb/dbinc_auto/ext_prot.in
bdb/dbinc_auto/fileops_auto.h
bdb/dbinc_auto/fileops_ext.h
bdb/dbinc_auto/hash_auto.h
bdb/dbinc_auto/hash_ext.h
bdb/dbinc_auto/hmac_ext.h
bdb/dbinc_auto/int_def.in
bdb/dbinc_auto/lock_ext.h
bdb/dbinc_auto/log_ext.h
bdb/dbinc_auto/mp_ext.h
bdb/dbinc_auto/mutex_ext.h
bdb/dbinc_auto/os_ext.h
bdb/dbinc_auto/qam_auto.h
bdb/dbinc_auto/qam_ext.h
bdb/dbinc_auto/rep_ext.h
bdb/dbinc_auto/rpc_client_ext.h
bdb/dbinc_auto/rpc_defs.in
bdb/dbinc_auto/rpc_server_ext.h
bdb/dbinc_auto/tcl_ext.h
bdb/dbinc_auto/txn_auto.h
bdb/dbinc_auto/txn_ext.h
bdb/dbinc_auto/xa_ext.h
bdb/dbreg/dbreg_auto.c
bdb/dist/bbb
bdb/dist/template/rec_dbreg
bdb/dist/template/rec_fileops
bdb/examples_c/ex_apprec/ex_apprec_auto.c
bdb/examples_c/ex_apprec/ex_apprec_auto.h
bdb/examples_c/ex_apprec/ex_apprec_template
bdb/fileops/fileops_auto.c
bdb/java/src/com/sleepycat/db/Db.java
bdb/java/src/com/sleepycat/db/DbBtreeStat.java
bdb/java/src/com/sleepycat/db/DbHashStat.java
bdb/java/src/com/sleepycat/db/DbLockStat.java
bdb/java/src/com/sleepycat/db/DbLogStat.java
bdb/java/src/com/sleepycat/db/DbMpoolFStat.java
bdb/java/src/com/sleepycat/db/DbQueueStat.java
bdb/java/src/com/sleepycat/db/DbRepStat.java
bdb/java/src/com/sleepycat/db/DbTxnStat.java
bdb/libdb_java/java_stat_auto.c
bdb/libdb_java/java_stat_auto.h
bdb/rpc_server/c/db_server_proc.c
bdb/rpc_server/c/db_server_proc.sed
bdb/rpc_server/c/db_server_svc.c
bdb/rpc_server/c/db_server_xdr.c
bdb/rpc_server/c/gen_db_server.c
bdb/test/TESTS
This diff is collapsed.
This diff is collapsed.
# Microsoft Developer Studio Project File - Name="db_perf" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=db_perf - Win32 Debug Static
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "db_perf.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "db_perf.mak" CFG="db_perf - Win32 Debug Static"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "db_perf - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "db_perf - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "db_perf - Win32 Release Static" (based on "Win32 (x86) Console Application")
!MESSAGE "db_perf - Win32 Debug Static" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "db_perf - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I ".." /I "../dbinc" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 Release/libdb41.lib /nologo /subsystem:console /machine:I386 /nodefaultlib:"libcmt"
!ELSEIF "$(CFG)" == "db_perf - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "." /I ".." /I "../dbinc" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 Debug/libdb41d.lib /nologo /subsystem:console /pdb:none /debug /machine:I386 /nodefaultlib:"libcmtd" /fixed:no
!ELSEIF "$(CFG)" == "db_perf - Win32 Release Static"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Ignore_Export_Lib 0
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release_static"
# PROP Intermediate_Dir "Release_static"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "." /I ".." /I "../dbinc" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "." /I ".." /I "../dbinc" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 Release_static/libdb41.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 Release_static/libdb41s.lib /nologo /subsystem:console /machine:I386
!ELSEIF "$(CFG)" == "db_perf - Win32 Debug Static"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Ignore_Export_Lib 0
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug_static"
# PROP Intermediate_Dir "Debug_static"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W3 /GX /Z7 /Od /I "." /I ".." /I "../dbinc" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MTd /W3 /GX /Z7 /Od /I "." /I ".." /I "../dbinc" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 Debug_static/libdb41d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /pdb:none /debug /machine:I386 /fixed:no
# ADD LINK32 Debug_static/libdb41sd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /pdb:none /debug /machine:I386 /fixed:no
!ENDIF
# Begin Target
# Name "db_perf - Win32 Release"
# Name "db_perf - Win32 Debug"
# Name "db_perf - Win32 Release Static"
# Name "db_perf - Win32 Debug Static"
# Begin Source File
SOURCE=..\test_perf\db_perf.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_cache_check.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_checkpoint.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_config.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_dbs.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_debug.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_file.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_key.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_log.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_misc.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_op.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_parse.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_rand.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_spawn.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_thread.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_trickle.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_txn.c
# End Source File
# Begin Source File
SOURCE=..\test_perf\perf_util.c
# End Source File
# Begin Source File
SOURCE=..\clib\getopt.c
# End Source File
# End Target
# End Project
# Microsoft Developer Studio Project File - Name="db_test" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
CFG=db_test - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "db_test.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "db_test.mak" CFG="db_test - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "db_test - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "db_test - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "db_test - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I ".." /I "../dbinc" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 Release/libdb41.lib /nologo /subsystem:console /machine:I386
# Begin Special Build Tool
SOURCE="$(InputPath)"
PostBuild_Desc=Copy built executable files.
PostBuild_Cmds=copy Release\*.exe .
# End Special Build Tool
!ELSEIF "$(CFG)" == "db_test - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /GX /Z7 /Od /I "." /I ".." /I "../dbinc" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 Debug/libdb41d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /pdb:none /debug /machine:I386 /out:"Debug/dbkill.exe" /fixed:no
# Begin Special Build Tool
SOURCE="$(InputPath)"
PostBuild_Desc=Copy built executable files.
PostBuild_Cmds=copy Debug\*.exe .
# End Special Build Tool
!ENDIF
# Begin Target
# Name "db_test - Win32 Release"
# Name "db_test - Win32 Debug"
# Begin Source File
SOURCE=.\dbkill.cpp
# End Source File
# End Target
# End Project
; DO NOT EDIT: automatically built by dist/s_win32.
DESCRIPTION 'Berkeley DB 4.1 Library'
EXPORTS
db_create @1
db_env_create @2
db_strerror @3
db_version @4
db_xa_switch @5
log_compare @6
txn_abort @7
txn_begin @8
txn_commit @9
db_env_set_func_close @10
db_env_set_func_dirfree @11
db_env_set_func_dirlist @12
db_env_set_func_exists @13
db_env_set_func_free @14
db_env_set_func_fsync @15
db_env_set_func_ioinfo @16
db_env_set_func_malloc @17
db_env_set_func_map @18
db_env_set_func_open @19
db_env_set_func_read @20
db_env_set_func_realloc @21
db_env_set_func_rename @22
db_env_set_func_seek @23
db_env_set_func_sleep @24
db_env_set_func_unlink @25
db_env_set_func_unmap @26
db_env_set_func_write @27
db_env_set_func_yield @28
__db_add_recovery @29
__db_dbm_close @30
__db_dbm_delete @31
__db_dbm_fetch @32
__db_dbm_firstkey @33
__db_dbm_init @34
__db_dbm_nextkey @35
__db_dbm_store @36
__db_hcreate @37
__db_hdestroy @38
__db_hsearch @39
__db_loadme @40
__db_ndbm_clearerr @41
__db_ndbm_close @42
__db_ndbm_delete @43
__db_ndbm_dirfno @44
__db_ndbm_error @45
__db_ndbm_fetch @46
__db_ndbm_firstkey @47
__db_ndbm_nextkey @48
__db_ndbm_open @49
__db_ndbm_pagfno @50
__db_ndbm_rdonly @51
__db_ndbm_store @52
__db_panic @53
__db_r_attach @54
__db_r_detach @55
__db_win32_mutex_init @56
__db_win32_mutex_lock @57
__db_win32_mutex_unlock @58
__ham_func2 @59
__ham_func3 @60
__ham_func4 @61
__ham_func5 @62
__ham_test @63
__lock_dump_region @64
__memp_dump_region @65
__os_calloc @66
__os_closehandle @67
__os_free @68
__os_ioinfo @69
__os_malloc @70
__os_open @71
__os_openhandle @72
__os_read @73
__os_realloc @74
__os_strdup @75
__os_umalloc @76
__os_write @77
__bam_init_print @78
__bam_pgin @79
__bam_pgout @80
__crdel_init_print @81
__db_dispatch @82
__db_dump @83
__db_e_stat @84
__db_err @85
__db_getlong @86
__db_getulong @87
__db_global_values @88
__db_init_print @89
__db_inmemdbflags @90
__db_isbigendian @91
__db_omode @92
__db_overwrite @93
__db_pgin @94
__db_pgout @95
__db_prdbt @96
__db_prfooter @97
__db_prheader @98
__db_rpath @99
__db_util_cache @100
__db_util_interrupted @101
__db_util_logset @102
__db_util_siginit @103
__db_util_sigresend @104
__db_verify_callback @105
__db_verify_internal @106
__dbreg_init_print @107
__fop_init_print @108
__ham_get_meta @109
__ham_init_print @110
__ham_pgin @111
__ham_pgout @112
__ham_release_meta @113
__os_clock @114
__os_get_errno @115
__os_id @116
__os_set_errno @117
__os_sleep @118
__os_ufree @119
__os_yield @120
__qam_init_print @121
__qam_pgin_out @122
__txn_init_print @123
/* Do not edit: automatically built by gen_rec.awk. */
#ifndef __bam_AUTO_H
#define __bam_AUTO_H
#define DB___bam_split 62
typedef struct ___bam_split_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t left;
DB_LSN llsn;
db_pgno_t right;
DB_LSN rlsn;
u_int32_t indx;
db_pgno_t npgno;
DB_LSN nlsn;
db_pgno_t root_pgno;
DBT pg;
u_int32_t opflags;
} __bam_split_args;
#define DB___bam_rsplit 63
typedef struct ___bam_rsplit_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t pgno;
DBT pgdbt;
db_pgno_t root_pgno;
db_pgno_t nrec;
DBT rootent;
DB_LSN rootlsn;
} __bam_rsplit_args;
#define DB___bam_adj 55
typedef struct ___bam_adj_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t pgno;
DB_LSN lsn;
u_int32_t indx;
u_int32_t indx_copy;
u_int32_t is_insert;
} __bam_adj_args;
#define DB___bam_cadjust 56
typedef struct ___bam_cadjust_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t pgno;
DB_LSN lsn;
u_int32_t indx;
int32_t adjust;
u_int32_t opflags;
} __bam_cadjust_args;
#define DB___bam_cdel 57
typedef struct ___bam_cdel_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t pgno;
DB_LSN lsn;
u_int32_t indx;
} __bam_cdel_args;
#define DB___bam_repl 58
typedef struct ___bam_repl_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t pgno;
DB_LSN lsn;
u_int32_t indx;
u_int32_t isdeleted;
DBT orig;
DBT repl;
u_int32_t prefix;
u_int32_t suffix;
} __bam_repl_args;
#define DB___bam_root 59
typedef struct ___bam_root_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t meta_pgno;
db_pgno_t root_pgno;
DB_LSN meta_lsn;
} __bam_root_args;
#define DB___bam_curadj 64
typedef struct ___bam_curadj_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_ca_mode mode;
db_pgno_t from_pgno;
db_pgno_t to_pgno;
db_pgno_t left_pgno;
u_int32_t first_indx;
u_int32_t from_indx;
u_int32_t to_indx;
} __bam_curadj_args;
#define DB___bam_rcuradj 65
typedef struct ___bam_rcuradj_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
ca_recno_arg mode;
db_pgno_t root;
db_recno_t recno;
u_int32_t order;
} __bam_rcuradj_args;
#endif
/* Do not edit: automatically built by gen_rec.awk. */
#ifndef __crdel_AUTO_H
#define __crdel_AUTO_H
#define DB___crdel_metasub 142
typedef struct ___crdel_metasub_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t pgno;
DBT page;
DB_LSN lsn;
} __crdel_metasub_args;
#endif
/* Do not edit: automatically built by gen_rec.awk. */
#ifndef __db_AUTO_H
#define __db_AUTO_H
#define DB___db_addrem 41
typedef struct ___db_addrem_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
u_int32_t opcode;
int32_t fileid;
db_pgno_t pgno;
u_int32_t indx;
u_int32_t nbytes;
DBT hdr;
DBT dbt;
DB_LSN pagelsn;
} __db_addrem_args;
#define DB___db_big 43
typedef struct ___db_big_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
u_int32_t opcode;
int32_t fileid;
db_pgno_t pgno;
db_pgno_t prev_pgno;
db_pgno_t next_pgno;
DBT dbt;
DB_LSN pagelsn;
DB_LSN prevlsn;
DB_LSN nextlsn;
} __db_big_args;
#define DB___db_ovref 44
typedef struct ___db_ovref_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t pgno;
int32_t adjust;
DB_LSN lsn;
} __db_ovref_args;
#define DB___db_relink 45
typedef struct ___db_relink_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
u_int32_t opcode;
int32_t fileid;
db_pgno_t pgno;
DB_LSN lsn;
db_pgno_t prev;
DB_LSN lsn_prev;
db_pgno_t next;
DB_LSN lsn_next;
} __db_relink_args;
#define DB___db_debug 47
typedef struct ___db_debug_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
DBT op;
int32_t fileid;
DBT key;
DBT data;
u_int32_t arg_flags;
} __db_debug_args;
#define DB___db_noop 48
typedef struct ___db_noop_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t pgno;
DB_LSN prevlsn;
} __db_noop_args;
#define DB___db_pg_alloc 49
typedef struct ___db_pg_alloc_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
DB_LSN meta_lsn;
db_pgno_t meta_pgno;
DB_LSN page_lsn;
db_pgno_t pgno;
u_int32_t ptype;
db_pgno_t next;
} __db_pg_alloc_args;
#define DB___db_pg_free 50
typedef struct ___db_pg_free_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t pgno;
DB_LSN meta_lsn;
db_pgno_t meta_pgno;
DBT header;
db_pgno_t next;
} __db_pg_free_args;
#define DB___db_cksum 51
typedef struct ___db_cksum_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
} __db_cksum_args;
#endif
/* Do not edit: automatically built by gen_rec.awk. */
#ifndef __dbreg_AUTO_H
#define __dbreg_AUTO_H
#define DB___dbreg_register 2
typedef struct ___dbreg_register_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
u_int32_t opcode;
DBT name;
DBT uid;
int32_t fileid;
DBTYPE ftype;
db_pgno_t meta_pgno;
u_int32_t id;
} __dbreg_register_args;
#endif
/* Do not edit: automatically built by gen_rec.awk. */
#ifndef __fop_AUTO_H
#define __fop_AUTO_H
#define DB___fop_create 143
typedef struct ___fop_create_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
DBT name;
u_int32_t appname;
u_int32_t mode;
} __fop_create_args;
#define DB___fop_remove 144
typedef struct ___fop_remove_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
DBT name;
DBT fid;
u_int32_t appname;
} __fop_remove_args;
#define DB___fop_write 145
typedef struct ___fop_write_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
DBT name;
u_int32_t appname;
u_int32_t offset;
DBT page;
u_int32_t flag;
} __fop_write_args;
#define DB___fop_rename 146
typedef struct ___fop_rename_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
DBT oldname;
DBT newname;
DBT fileid;
u_int32_t appname;
} __fop_rename_args;
#define DB___fop_file_remove 141
typedef struct ___fop_file_remove_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
DBT real_fid;
DBT tmp_fid;
DBT name;
u_int32_t appname;
u_int32_t child;
} __fop_file_remove_args;
#endif
/* Do not edit: automatically built by gen_rec.awk. */
#ifndef __ham_AUTO_H
#define __ham_AUTO_H
#define DB___ham_insdel 21
typedef struct ___ham_insdel_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
u_int32_t opcode;
int32_t fileid;
db_pgno_t pgno;
u_int32_t ndx;
DB_LSN pagelsn;
DBT key;
DBT data;
} __ham_insdel_args;
#define DB___ham_newpage 22
typedef struct ___ham_newpage_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
u_int32_t opcode;
int32_t fileid;
db_pgno_t prev_pgno;
DB_LSN prevlsn;
db_pgno_t new_pgno;
DB_LSN pagelsn;
db_pgno_t next_pgno;
DB_LSN nextlsn;
} __ham_newpage_args;
#define DB___ham_splitdata 24
typedef struct ___ham_splitdata_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
u_int32_t opcode;
db_pgno_t pgno;
DBT pageimage;
DB_LSN pagelsn;
} __ham_splitdata_args;
#define DB___ham_replace 25
typedef struct ___ham_replace_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t pgno;
u_int32_t ndx;
DB_LSN pagelsn;
int32_t off;
DBT olditem;
DBT newitem;
u_int32_t makedup;
} __ham_replace_args;
#define DB___ham_copypage 28
typedef struct ___ham_copypage_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t pgno;
DB_LSN pagelsn;
db_pgno_t next_pgno;
DB_LSN nextlsn;
db_pgno_t nnext_pgno;
DB_LSN nnextlsn;
DBT page;
} __ham_copypage_args;
#define DB___ham_metagroup 29
typedef struct ___ham_metagroup_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
u_int32_t bucket;
db_pgno_t mmpgno;
DB_LSN mmetalsn;
db_pgno_t mpgno;
DB_LSN metalsn;
db_pgno_t pgno;
DB_LSN pagelsn;
u_int32_t newalloc;
} __ham_metagroup_args;
#define DB___ham_groupalloc 32
typedef struct ___ham_groupalloc_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
DB_LSN meta_lsn;
db_pgno_t start_pgno;
u_int32_t num;
db_pgno_t free;
} __ham_groupalloc_args;
#define DB___ham_curadj 33
typedef struct ___ham_curadj_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_pgno_t pgno;
u_int32_t indx;
u_int32_t len;
u_int32_t dup_off;
int add;
int is_dup;
u_int32_t order;
} __ham_curadj_args;
#define DB___ham_chgpg 34
typedef struct ___ham_chgpg_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_ham_mode mode;
db_pgno_t old_pgno;
db_pgno_t new_pgno;
u_int32_t old_indx;
u_int32_t new_indx;
} __ham_chgpg_args;
#endif
/* Do not edit: automatically built by gen_rec.awk. */
#ifndef __qam_AUTO_H
#define __qam_AUTO_H
#define DB___qam_incfirst 84
typedef struct ___qam_incfirst_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
db_recno_t recno;
db_pgno_t meta_pgno;
} __qam_incfirst_args;
#define DB___qam_mvptr 85
typedef struct ___qam_mvptr_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
u_int32_t opcode;
int32_t fileid;
db_recno_t old_first;
db_recno_t new_first;
db_recno_t old_cur;
db_recno_t new_cur;
DB_LSN metalsn;
db_pgno_t meta_pgno;
} __qam_mvptr_args;
#define DB___qam_del 79
typedef struct ___qam_del_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
DB_LSN lsn;
db_pgno_t pgno;
u_int32_t indx;
db_recno_t recno;
} __qam_del_args;
#define DB___qam_add 80
typedef struct ___qam_add_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
DB_LSN lsn;
db_pgno_t pgno;
u_int32_t indx;
db_recno_t recno;
DBT data;
u_int32_t vflag;
DBT olddata;
} __qam_add_args;
#define DB___qam_delext 83
typedef struct ___qam_delext_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
int32_t fileid;
DB_LSN lsn;
db_pgno_t pgno;
u_int32_t indx;
db_recno_t recno;
DBT data;
} __qam_delext_args;
#endif
/* Do not edit: automatically built by gen_rec.awk. */
#ifndef __txn_AUTO_H
#define __txn_AUTO_H
#define DB___txn_regop 10
typedef struct ___txn_regop_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
u_int32_t opcode;
int32_t timestamp;
} __txn_regop_args;
#define DB___txn_ckp 11
typedef struct ___txn_ckp_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
DB_LSN ckp_lsn;
DB_LSN last_ckp;
int32_t timestamp;
} __txn_ckp_args;
#define DB___txn_child 12
typedef struct ___txn_child_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
u_int32_t child;
DB_LSN c_lsn;
} __txn_child_args;
#define DB___txn_xa_regop 13
typedef struct ___txn_xa_regop_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
u_int32_t opcode;
DBT xid;
int32_t formatID;
u_int32_t gtrid;
u_int32_t bqual;
DB_LSN begin_lsn;
} __txn_xa_regop_args;
#define DB___txn_recycle 14
typedef struct ___txn_recycle_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
u_int32_t min;
u_int32_t max;
} __txn_recycle_args;
#endif
/* Do not edit: automatically built by gen_rec.awk. */
#include "db_config.h"
#ifndef NO_SYSTEM_INCLUDES
#include <sys/types.h>
#include <ctype.h>
#include <string.h>
#endif
#include "db_int.h"
#include "dbinc/crypto.h"
#include "dbinc/db_page.h"
#include "dbinc/db_dispatch.h"
#include "dbinc/db_am.h"
#include "dbinc/log.h"
#include "dbinc/rep.h"
#include "dbinc/txn.h"
/*
* PUBLIC: int __dbreg_register_log __P((DB_ENV *, DB_TXN *,
* PUBLIC: DB_LSN *, u_int32_t, u_int32_t, const DBT *, const DBT *,
* PUBLIC: int32_t, DBTYPE, db_pgno_t, u_int32_t));
*/
int
__dbreg_register_log(dbenv, txnid, ret_lsnp, flags,
opcode, name, uid, fileid, ftype, meta_pgno,
id)
DB_ENV *dbenv;
DB_TXN *txnid;
DB_LSN *ret_lsnp;
u_int32_t flags;
u_int32_t opcode;
const DBT *name;
const DBT *uid;
int32_t fileid;
DBTYPE ftype;
db_pgno_t meta_pgno;
u_int32_t id;
{
DBT logrec;
DB_LSN *lsnp, null_lsn;
u_int32_t zero;
u_int32_t uinttmp;
u_int32_t npad, rectype, txn_num;
int ret;
u_int8_t *bp;
rectype = DB___dbreg_register;
npad = 0;
if (txnid == NULL) {
txn_num = 0;
null_lsn.file = 0;
null_lsn.offset = 0;
lsnp = &null_lsn;
} else {
if (TAILQ_FIRST(&txnid->kids) != NULL &&
(ret = __txn_activekids(dbenv, rectype, txnid)) != 0)
return (ret);
txn_num = txnid->txnid;
lsnp = &txnid->last_lsn;
}
logrec.size = sizeof(rectype) + sizeof(txn_num) + sizeof(DB_LSN)
+ sizeof(u_int32_t)
+ sizeof(u_int32_t) + (name == NULL ? 0 : name->size)
+ sizeof(u_int32_t) + (uid == NULL ? 0 : uid->size)
+ sizeof(u_int32_t)
+ sizeof(u_int32_t)
+ sizeof(u_int32_t)
+ sizeof(u_int32_t);
if (CRYPTO_ON(dbenv)) {
npad =
((DB_CIPHER *)dbenv->crypto_handle)->adj_size(logrec.size);
logrec.size += npad;
}
if ((ret = __os_malloc(dbenv,
logrec.size, &logrec.data)) != 0)
return (ret);
if (npad > 0)
memset((u_int8_t *)logrec.data + logrec.size - npad, 0, npad);
bp = logrec.data;
memcpy(bp, &rectype, sizeof(rectype));
bp += sizeof(rectype);
memcpy(bp, &txn_num, sizeof(txn_num));
bp += sizeof(txn_num);
memcpy(bp, lsnp, sizeof(DB_LSN));
bp += sizeof(DB_LSN);
uinttmp = (u_int32_t)opcode;
memcpy(bp, &uinttmp, sizeof(uinttmp));
bp += sizeof(uinttmp);
if (name == NULL) {
zero = 0;
memcpy(bp, &zero, sizeof(u_int32_t));
bp += sizeof(u_int32_t);
} else {
memcpy(bp, &name->size, sizeof(name->size));
bp += sizeof(name->size);
memcpy(bp, name->data, name->size);
bp += name->size;
}
if (uid == NULL) {
zero = 0;
memcpy(bp, &zero, sizeof(u_int32_t));
bp += sizeof(u_int32_t);
} else {
memcpy(bp, &uid->size, sizeof(uid->size));
bp += sizeof(uid->size);
memcpy(bp, uid->data, uid->size);
bp += uid->size;
}
uinttmp = (u_int32_t)fileid;
memcpy(bp, &uinttmp, sizeof(uinttmp));
bp += sizeof(uinttmp);
uinttmp = (u_int32_t)ftype;
memcpy(bp, &uinttmp, sizeof(uinttmp));
bp += sizeof(uinttmp);
uinttmp = (u_int32_t)meta_pgno;
memcpy(bp, &uinttmp, sizeof(uinttmp));
bp += sizeof(uinttmp);
uinttmp = (u_int32_t)id;
memcpy(bp, &uinttmp, sizeof(uinttmp));
bp += sizeof(uinttmp);
DB_ASSERT((u_int32_t)(bp - (u_int8_t *)logrec.data) <= logrec.size);
ret = dbenv->log_put(dbenv,
ret_lsnp, (DBT *)&logrec, flags | DB_NOCOPY);
if (txnid != NULL && ret == 0)
txnid->last_lsn = *ret_lsnp;
#ifdef LOG_DIAGNOSTIC
if (ret != 0)
(void)__dbreg_register_print(dbenv,
(DBT *)&logrec, ret_lsnp, NULL, NULL);
#endif
__os_free(dbenv, logrec.data);
return (ret);
}
/*
* PUBLIC: int __dbreg_register_getpgnos __P((DB_ENV *, DBT *,
* PUBLIC: DB_LSN *, db_recops, void *));
*/
int
__dbreg_register_getpgnos(dbenv, rec, lsnp, notused1, summary)
DB_ENV *dbenv;
DBT *rec;
DB_LSN *lsnp;
db_recops notused1;
void *summary;
{
TXN_RECS *t;
int ret;
COMPQUIET(rec, NULL);
COMPQUIET(notused1, DB_TXN_ABORT);
t = (TXN_RECS *)summary;
if ((ret = __rep_check_alloc(dbenv, t, 1)) != 0)
return (ret);
t->array[t->npages].flags = LSN_PAGE_NOLOCK;
t->array[t->npages].lsn = *lsnp;
t->array[t->npages].fid = DB_LOGFILEID_INVALID;
memset(&t->array[t->npages].pgdesc, 0,
sizeof(t->array[t->npages].pgdesc));
t->npages++;
return (0);
}
/*
* PUBLIC: int __dbreg_register_print __P((DB_ENV *, DBT *, DB_LSN *,
* PUBLIC: db_recops, void *));
*/
int
__dbreg_register_print(dbenv, dbtp, lsnp, notused2, notused3)
DB_ENV *dbenv;
DBT *dbtp;
DB_LSN *lsnp;
db_recops notused2;
void *notused3;
{
__dbreg_register_args *argp;
u_int32_t i;
int ch;
int ret;
notused2 = DB_TXN_ABORT;
notused3 = NULL;
if ((ret = __dbreg_register_read(dbenv, dbtp->data, &argp)) != 0)
return (ret);
(void)printf(
"[%lu][%lu]__dbreg_register: rec: %lu txnid %lx prevlsn [%lu][%lu]\n",
(u_long)lsnp->file,
(u_long)lsnp->offset,
(u_long)argp->type,
(u_long)argp->txnid->txnid,
(u_long)argp->prev_lsn.file,
(u_long)argp->prev_lsn.offset);
(void)printf("\topcode: %lu\n", (u_long)argp->opcode);
(void)printf("\tname: ");
for (i = 0; i < argp->name.size; i++) {
ch = ((u_int8_t *)argp->name.data)[i];
printf(isprint(ch) || ch == 0x0a ? "%c" : "%#x ", ch);
}
(void)printf("\n");
(void)printf("\tuid: ");
for (i = 0; i < argp->uid.size; i++) {
ch = ((u_int8_t *)argp->uid.data)[i];
printf(isprint(ch) || ch == 0x0a ? "%c" : "%#x ", ch);
}
(void)printf("\n");
(void)printf("\tfileid: %ld\n", (long)argp->fileid);
(void)printf("\tftype: 0x%lx\n", (u_long)argp->ftype);
(void)printf("\tmeta_pgno: %lu\n", (u_long)argp->meta_pgno);
(void)printf("\tid: 0x%lx\n", (u_long)argp->id);
(void)printf("\n");
__os_free(dbenv, argp);
return (0);
}
/*
* PUBLIC: int __dbreg_register_read __P((DB_ENV *, void *,
* PUBLIC: __dbreg_register_args **));
*/
int
__dbreg_register_read(dbenv, recbuf, argpp)
DB_ENV *dbenv;
void *recbuf;
__dbreg_register_args **argpp;
{
__dbreg_register_args *argp;
u_int32_t uinttmp;
u_int8_t *bp;
int ret;
if ((ret = __os_malloc(dbenv,
sizeof(__dbreg_register_args) + sizeof(DB_TXN), &argp)) != 0)
return (ret);
argp->txnid = (DB_TXN *)&argp[1];
bp = recbuf;
memcpy(&argp->type, bp, sizeof(argp->type));
bp += sizeof(argp->type);
memcpy(&argp->txnid->txnid, bp, sizeof(argp->txnid->txnid));
bp += sizeof(argp->txnid->txnid);
memcpy(&argp->prev_lsn, bp, sizeof(DB_LSN));
bp += sizeof(DB_LSN);
memcpy(&uinttmp, bp, sizeof(uinttmp));
argp->opcode = (u_int32_t)uinttmp;
bp += sizeof(uinttmp);
memset(&argp->name, 0, sizeof(argp->name));
memcpy(&argp->name.size, bp, sizeof(u_int32_t));
bp += sizeof(u_int32_t);
argp->name.data = bp;
bp += argp->name.size;
memset(&argp->uid, 0, sizeof(argp->uid));
memcpy(&argp->uid.size, bp, sizeof(u_int32_t));
bp += sizeof(u_int32_t);
argp->uid.data = bp;
bp += argp->uid.size;
memcpy(&uinttmp, bp, sizeof(uinttmp));
argp->fileid = (int32_t)uinttmp;
bp += sizeof(uinttmp);
memcpy(&uinttmp, bp, sizeof(uinttmp));
argp->ftype = (DBTYPE)uinttmp;
bp += sizeof(uinttmp);
memcpy(&uinttmp, bp, sizeof(uinttmp));
argp->meta_pgno = (db_pgno_t)uinttmp;
bp += sizeof(uinttmp);
memcpy(&uinttmp, bp, sizeof(uinttmp));
argp->id = (u_int32_t)uinttmp;
bp += sizeof(uinttmp);
*argpp = argp;
return (0);
}
/*
* PUBLIC: int __dbreg_init_print __P((DB_ENV *, int (***)(DB_ENV *,
* PUBLIC: DBT *, DB_LSN *, db_recops, void *), size_t *));
*/
int
__dbreg_init_print(dbenv, dtabp, dtabsizep)
DB_ENV *dbenv;
int (***dtabp)__P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
size_t *dtabsizep;
{
int ret;
if ((ret = __db_add_recovery(dbenv, dtabp, dtabsizep,
__dbreg_register_print, DB___dbreg_register)) != 0)
return (ret);
return (0);
}
/*
* PUBLIC: int __dbreg_init_getpgnos __P((DB_ENV *,
* PUBLIC: int (***)(DB_ENV *, DBT *, DB_LSN *, db_recops, void *),
* PUBLIC: size_t *));
*/
int
__dbreg_init_getpgnos(dbenv, dtabp, dtabsizep)
DB_ENV *dbenv;
int (***dtabp)__P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
size_t *dtabsizep;
{
int ret;
if ((ret = __db_add_recovery(dbenv, dtabp, dtabsizep,
__dbreg_register_getpgnos, DB___dbreg_register)) != 0)
return (ret);
return (0);
}
/*
* PUBLIC: int __dbreg_init_recover __P((DB_ENV *, int (***)(DB_ENV *,
* PUBLIC: DBT *, DB_LSN *, db_recops, void *), size_t *));
*/
int
__dbreg_init_recover(dbenv, dtabp, dtabsizep)
DB_ENV *dbenv;
int (***dtabp)__P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
size_t *dtabsizep;
{
int ret;
if ((ret = __db_add_recovery(dbenv, dtabp, dtabsizep,
__dbreg_register_recover, DB___dbreg_register)) != 0)
return (ret);
return (0);
}
#include "db_config.h"
#ifndef NO_SYSTEM_INCLUDES
#include <sys/types.h>
#include <string.h>
#endif
#include "db_int.h"
#include "dbinc/db_page.h"
#include "dbinc/__dbreg.h"
#include "dbinc/log.h"
/*
* __dbreg_register_recover --
* Recovery function for register.
*
* PUBLIC: int __dbreg_register_recover
* PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
*/
int
__dbreg_register_recover(dbenv, dbtp, lsnp, op, info)
DB_ENV *dbenv;
DBT *dbtp;
DB_LSN *lsnp;
db_recops op;
void *info;
{
__dbreg_register_args *argp;
DB *file_dbp;
DBC *dbc;
DB_MPOOLFILE *mpf;
PAGE *pagep;
int cmp_n, cmp_p, modified, ret;
REC_PRINT(__dbreg_register_print);
REC_INTRO(__dbreg_register_read, 1);
if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
if (DB_REDO(op)) {
if ((ret = mpf->get(mpf,
&argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
goto out;
} else {
*lsnp = argp->prev_lsn;
ret = 0;
goto out;
}
modified = 0;
cmp_n = log_compare(lsnp, &LSN(pagep));
/*
* Use this when there is something like "pagelsn" in the argp
* structure. Sometimes, you might need to compare meta-data
* lsn's instead.
*
* cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
*/
if (cmp_p == 0 && DB_REDO(op)) {
/* Need to redo update described. */
modified = 1;
} else if (cmp_n == 0 && !DB_REDO(op)) {
/* Need to undo update described. */
modified = 1;
}
if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
goto out;
*lsnp = argp->prev_lsn;
ret = 0;
out: REC_CLOSE;
}
#include "db_config.h"
#ifndef NO_SYSTEM_INCLUDES
#include <sys/types.h>
#include <string.h>
#endif
#include "db_int.h"
#include "dbinc/db_page.h"
#include "dbinc/__fop.h"
#include "dbinc/log.h"
/*
* __fop_create_recover --
* Recovery function for create.
*
* PUBLIC: int __fop_create_recover
* PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
*/
int
__fop_create_recover(dbenv, dbtp, lsnp, op, info)
DB_ENV *dbenv;
DBT *dbtp;
DB_LSN *lsnp;
db_recops op;
void *info;
{
__fop_create_args *argp;
DB *file_dbp;
DBC *dbc;
DB_MPOOLFILE *mpf;
PAGE *pagep;
int cmp_n, cmp_p, modified, ret;
REC_PRINT(__fop_create_print);
REC_INTRO(__fop_create_read, 1);
if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
if (DB_REDO(op)) {
if ((ret = mpf->get(mpf,
&argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
goto out;
} else {
*lsnp = argp->prev_lsn;
ret = 0;
goto out;
}
modified = 0;
cmp_n = log_compare(lsnp, &LSN(pagep));
/*
* Use this when there is something like "pagelsn" in the argp
* structure. Sometimes, you might need to compare meta-data
* lsn's instead.
*
* cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
*/
if (cmp_p == 0 && DB_REDO(op)) {
/* Need to redo update described. */
modified = 1;
} else if (cmp_n == 0 && !DB_REDO(op)) {
/* Need to undo update described. */
modified = 1;
}
if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
goto out;
*lsnp = argp->prev_lsn;
ret = 0;
out: REC_CLOSE;
}
/*
* __fop_remove_recover --
* Recovery function for remove.
*
* PUBLIC: int __fop_remove_recover
* PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
*/
int
__fop_remove_recover(dbenv, dbtp, lsnp, op, info)
DB_ENV *dbenv;
DBT *dbtp;
DB_LSN *lsnp;
db_recops op;
void *info;
{
__fop_remove_args *argp;
DB *file_dbp;
DBC *dbc;
DB_MPOOLFILE *mpf;
PAGE *pagep;
int cmp_n, cmp_p, modified, ret;
REC_PRINT(__fop_remove_print);
REC_INTRO(__fop_remove_read, 1);
if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
if (DB_REDO(op)) {
if ((ret = mpf->get(mpf,
&argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
goto out;
} else {
*lsnp = argp->prev_lsn;
ret = 0;
goto out;
}
modified = 0;
cmp_n = log_compare(lsnp, &LSN(pagep));
/*
* Use this when there is something like "pagelsn" in the argp
* structure. Sometimes, you might need to compare meta-data
* lsn's instead.
*
* cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
*/
if (cmp_p == 0 && DB_REDO(op)) {
/* Need to redo update described. */
modified = 1;
} else if (cmp_n == 0 && !DB_REDO(op)) {
/* Need to undo update described. */
modified = 1;
}
if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
goto out;
*lsnp = argp->prev_lsn;
ret = 0;
out: REC_CLOSE;
}
/*
* __fop_write_recover --
* Recovery function for write.
*
* PUBLIC: int __fop_write_recover
* PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
*/
int
__fop_write_recover(dbenv, dbtp, lsnp, op, info)
DB_ENV *dbenv;
DBT *dbtp;
DB_LSN *lsnp;
db_recops op;
void *info;
{
__fop_write_args *argp;
DB *file_dbp;
DBC *dbc;
DB_MPOOLFILE *mpf;
PAGE *pagep;
int cmp_n, cmp_p, modified, ret;
REC_PRINT(__fop_write_print);
REC_INTRO(__fop_write_read, 1);
if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
if (DB_REDO(op)) {
if ((ret = mpf->get(mpf,
&argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
goto out;
} else {
*lsnp = argp->prev_lsn;
ret = 0;
goto out;
}
modified = 0;
cmp_n = log_compare(lsnp, &LSN(pagep));
/*
* Use this when there is something like "pagelsn" in the argp
* structure. Sometimes, you might need to compare meta-data
* lsn's instead.
*
* cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
*/
if (cmp_p == 0 && DB_REDO(op)) {
/* Need to redo update described. */
modified = 1;
} else if (cmp_n == 0 && !DB_REDO(op)) {
/* Need to undo update described. */
modified = 1;
}
if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
goto out;
*lsnp = argp->prev_lsn;
ret = 0;
out: REC_CLOSE;
}
/*
* __fop_rename_recover --
* Recovery function for rename.
*
* PUBLIC: int __fop_rename_recover
* PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
*/
int
__fop_rename_recover(dbenv, dbtp, lsnp, op, info)
DB_ENV *dbenv;
DBT *dbtp;
DB_LSN *lsnp;
db_recops op;
void *info;
{
__fop_rename_args *argp;
DB *file_dbp;
DBC *dbc;
DB_MPOOLFILE *mpf;
PAGE *pagep;
int cmp_n, cmp_p, modified, ret;
REC_PRINT(__fop_rename_print);
REC_INTRO(__fop_rename_read, 1);
if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
if (DB_REDO(op)) {
if ((ret = mpf->get(mpf,
&argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
goto out;
} else {
*lsnp = argp->prev_lsn;
ret = 0;
goto out;
}
modified = 0;
cmp_n = log_compare(lsnp, &LSN(pagep));
/*
* Use this when there is something like "pagelsn" in the argp
* structure. Sometimes, you might need to compare meta-data
* lsn's instead.
*
* cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
*/
if (cmp_p == 0 && DB_REDO(op)) {
/* Need to redo update described. */
modified = 1;
} else if (cmp_n == 0 && !DB_REDO(op)) {
/* Need to undo update described. */
modified = 1;
}
if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
goto out;
*lsnp = argp->prev_lsn;
ret = 0;
out: REC_CLOSE;
}
/*
* __fop_file_remove_recover --
* Recovery function for file_remove.
*
* PUBLIC: int __fop_file_remove_recover
* PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
*/
int
__fop_file_remove_recover(dbenv, dbtp, lsnp, op, info)
DB_ENV *dbenv;
DBT *dbtp;
DB_LSN *lsnp;
db_recops op;
void *info;
{
__fop_file_remove_args *argp;
DB *file_dbp;
DBC *dbc;
DB_MPOOLFILE *mpf;
PAGE *pagep;
int cmp_n, cmp_p, modified, ret;
REC_PRINT(__fop_file_remove_print);
REC_INTRO(__fop_file_remove_read, 1);
if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
if (DB_REDO(op)) {
if ((ret = mpf->get(mpf,
&argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
goto out;
} else {
*lsnp = argp->prev_lsn;
ret = 0;
goto out;
}
modified = 0;
cmp_n = log_compare(lsnp, &LSN(pagep));
/*
* Use this when there is something like "pagelsn" in the argp
* structure. Sometimes, you might need to compare meta-data
* lsn's instead.
*
* cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
*/
if (cmp_p == 0 && DB_REDO(op)) {
/* Need to redo update described. */
modified = 1;
} else if (cmp_n == 0 && !DB_REDO(op)) {
/* Need to undo update described. */
modified = 1;
}
if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
goto out;
*lsnp = argp->prev_lsn;
ret = 0;
out: REC_CLOSE;
}
This diff is collapsed.
/* DO NOT EDIT: automatically built by dist/s_java. */
package com.sleepycat.db;
public class DbBtreeStat
{
public int bt_magic;
public int bt_version;
public int bt_metaflags;
public int bt_nkeys;
public int bt_ndata;
public int bt_pagesize;
public int bt_maxkey;
public int bt_minkey;
public int bt_re_len;
public int bt_re_pad;
public int bt_levels;
public int bt_int_pg;
public int bt_leaf_pg;
public int bt_dup_pg;
public int bt_over_pg;
public int bt_free;
public int bt_int_pgfree;
public int bt_leaf_pgfree;
public int bt_dup_pgfree;
public int bt_over_pgfree;
}
// end of DbBtreeStat.java
/* DO NOT EDIT: automatically built by dist/s_java. */
package com.sleepycat.db;
public class DbHashStat
{
public int hash_magic;
public int hash_version;
public int hash_metaflags;
public int hash_nkeys;
public int hash_ndata;
public int hash_pagesize;
public int hash_ffactor;
public int hash_buckets;
public int hash_free;
public int hash_bfree;
public int hash_bigpages;
public int hash_big_bfree;
public int hash_overflows;
public int hash_ovfl_free;
public int hash_dup;
public int hash_dup_free;
}
// end of DbHashStat.java
/* DO NOT EDIT: automatically built by dist/s_java. */
package com.sleepycat.db;
public class DbLockStat
{
public int st_id;
public int st_cur_maxid;
public int st_maxlocks;
public int st_maxlockers;
public int st_maxobjects;
public int st_nmodes;
public int st_nlocks;
public int st_maxnlocks;
public int st_nlockers;
public int st_maxnlockers;
public int st_nobjects;
public int st_maxnobjects;
public int st_nconflicts;
public int st_nrequests;
public int st_nreleases;
public int st_nnowaits;
public int st_ndeadlocks;
public int st_locktimeout;
public int st_nlocktimeouts;
public int st_txntimeout;
public int st_ntxntimeouts;
public int st_region_wait;
public int st_region_nowait;
public int st_regsize;
}
// end of DbLockStat.java
/* DO NOT EDIT: automatically built by dist/s_java. */
package com.sleepycat.db;
public class DbLogStat
{
public int st_magic;
public int st_version;
public int st_mode;
public int st_lg_bsize;
public int st_lg_size;
public int st_w_bytes;
public int st_w_mbytes;
public int st_wc_bytes;
public int st_wc_mbytes;
public int st_wcount;
public int st_wcount_fill;
public int st_scount;
public int st_region_wait;
public int st_region_nowait;
public int st_cur_file;
public int st_cur_offset;
public int st_disk_file;
public int st_disk_offset;
public int st_regsize;
public int st_maxcommitperflush;
public int st_mincommitperflush;
}
// end of DbLogStat.java
/* DO NOT EDIT: automatically built by dist/s_java. */
package com.sleepycat.db;
public class DbMpoolFStat
{
public String file_name;
public int st_pagesize;
public int st_map;
public int st_cache_hit;
public int st_cache_miss;
public int st_page_create;
public int st_page_in;
public int st_page_out;
}
// end of DbMpoolFStat.java
/* DO NOT EDIT: automatically built by dist/s_java. */
package com.sleepycat.db;
public class DbQueueStat
{
public int qs_magic;
public int qs_version;
public int qs_metaflags;
public int qs_nkeys;
public int qs_ndata;
public int qs_pagesize;
public int qs_extentsize;
public int qs_pages;
public int qs_re_len;
public int qs_re_pad;
public int qs_pgfree;
public int qs_first_recno;
public int qs_cur_recno;
}
// end of DbQueueStat.java
/* DO NOT EDIT: automatically built by dist/s_java. */
package com.sleepycat.db;
public class DbRepStat
{
public int st_status;
public DbLsn st_next_lsn;
public DbLsn st_waiting_lsn;
public int st_dupmasters;
public int st_env_id;
public int st_env_priority;
public int st_gen;
public int st_log_duplicated;
public int st_log_queued;
public int st_log_queued_max;
public int st_log_queued_total;
public int st_log_records;
public int st_log_requested;
public int st_master;
public int st_master_changes;
public int st_msgs_badgen;
public int st_msgs_processed;
public int st_msgs_recover;
public int st_msgs_send_failures;
public int st_msgs_sent;
public int st_newsites;
public int st_nsites;
public int st_nthrottles;
public int st_outdated;
public int st_txns_applied;
public int st_elections;
public int st_elections_won;
public int st_election_cur_winner;
public int st_election_gen;
public DbLsn st_election_lsn;
public int st_election_nsites;
public int st_election_priority;
public int st_election_status;
public int st_election_tiebreaker;
public int st_election_votes;
}
// end of DbRepStat.java
/* DO NOT EDIT: automatically built by dist/s_java. */
package com.sleepycat.db;
public class DbTxnStat
{
public static class Active {
public int txnid;
public int parentid;
public DbLsn lsn;
};
public DbLsn st_last_ckp;
public long st_time_ckp;
public int st_last_txnid;
public int st_maxtxns;
public int st_naborts;
public int st_nbegins;
public int st_ncommits;
public int st_nactive;
public int st_nrestores;
public int st_maxnactive;
public Active st_txnarray[];
public int st_region_wait;
public int st_region_nowait;
public int st_regsize;
}
// end of DbTxnStat.java
This diff is collapsed.
/* DO NOT EDIT: automatically built by dist/s_java. */
extern int __jv_fill_bt_stat(JNIEnv *jnienv, jclass cl, jobject jobj, struct __db_bt_stat *statp);
extern int __jv_fill_h_stat(JNIEnv *jnienv, jclass cl, jobject jobj, struct __db_h_stat *statp);
extern int __jv_fill_lock_stat(JNIEnv *jnienv, jclass cl, jobject jobj, struct __db_lock_stat *statp);
extern int __jv_fill_log_stat(JNIEnv *jnienv, jclass cl, jobject jobj, struct __db_log_stat *statp);
extern int __jv_fill_mpool_stat(JNIEnv *jnienv, jclass cl, jobject jobj, struct __db_mpool_stat *statp);
extern int __jv_fill_qam_stat(JNIEnv *jnienv, jclass cl, jobject jobj, struct __db_qam_stat *statp);
extern int __jv_fill_rep_stat(JNIEnv *jnienv, jclass cl, jobject jobj, struct __db_rep_stat *statp);
extern int __jv_fill_txn_stat(JNIEnv *jnienv, jclass cl, jobject jobj, struct __db_txn_stat *statp);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment