mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
fe5c29ed66
BitKeeper/deleted/.del-BerkeleyDB.wsp~262cad82bbee330e: Delete: storage/bdb/build_vxworks/BerkeleyDB.wsp BitKeeper/deleted/.del-db_deadlock.c~e66b27126703863b: Delete: storage/bdb/build_vxworks/db_deadlock/db_deadlock.c BitKeeper/deleted/.del-README~e7bed2181d0721fc: Delete: storage/bdb/build_vxworks/dbdemo/README BitKeeper/deleted/.del-checkapi.prl~9cff93a620c4d6ee: Delete: storage/bdb/libdb_java/checkapi.prl BitKeeper/deleted/.del-com_sleepycat_db_Db.h~5be8fdbd82dc66ff: Delete: storage/bdb/libdb_java/com_sleepycat_db_Db.h BitKeeper/deleted/.del-com_sleepycat_db_DbEnv.h~561e86491f216398: Delete: storage/bdb/libdb_java/com_sleepycat_db_DbEnv.h BitKeeper/deleted/.del-com_sleepycat_db_DbLock.h~99691cceb677fb03: Delete: storage/bdb/libdb_java/com_sleepycat_db_DbLock.h BitKeeper/deleted/.del-com_sleepycat_db_DbLogc.h~285d0bf42cc42e7: Delete: storage/bdb/libdb_java/com_sleepycat_db_DbLogc.h BitKeeper/deleted/.del-com_sleepycat_db_DbLsn.h~3541030a6ddecbce: Delete: storage/bdb/libdb_java/com_sleepycat_db_DbLsn.h BitKeeper/deleted/.del-com_sleepycat_db_DbTxn.h~93b5284933625666: Delete: storage/bdb/libdb_java/com_sleepycat_db_DbTxn.h BitKeeper/deleted/.del-com_sleepycat_db_DbUtil.h~7e57707ff193506b: Delete: storage/bdb/libdb_java/com_sleepycat_db_DbUtil.h BitKeeper/deleted/.del-com_sleepycat_db_Dbc.h~ada851088fc835cf: Delete: storage/bdb/libdb_java/com_sleepycat_db_Dbc.h BitKeeper/deleted/.del-com_sleepycat_db_Dbt.h~a0f565bbacdbef6f: Delete: storage/bdb/libdb_java/com_sleepycat_db_Dbt.h BitKeeper/deleted/.del-com_sleepycat_db_xa_DbXAResource.h~422d8d531f84b16d: Delete: storage/bdb/libdb_java/com_sleepycat_db_xa_DbXAResource.h BitKeeper/deleted/.del-java_Db.c~58bb1812dfe5854b: Delete: storage/bdb/libdb_java/java_Db.c BitKeeper/deleted/.del-java_DbEnv.c~a2df07a3a8eb0a3: Delete: storage/bdb/libdb_java/java_DbEnv.c BitKeeper/deleted/.del-java_DbLock.c~14752f3d17ce5091: Delete: storage/bdb/libdb_java/java_DbLock.c BitKeeper/deleted/.del-java_DbLogc.c~32b9f5a0d8ae00e1: Delete: storage/bdb/libdb_java/java_DbLogc.c BitKeeper/deleted/.del-java_DbLsn.c~397bce0c2e9acfae: Delete: storage/bdb/libdb_java/java_DbLsn.c BitKeeper/deleted/.del-java_DbTxn.c~d9dc40ebae01406c: Delete: storage/bdb/libdb_java/java_DbTxn.c BitKeeper/deleted/.del-java_DbUtil.c~f5ec02c726cdc2c8: Delete: storage/bdb/libdb_java/java_DbUtil.c BitKeeper/deleted/.del-java_DbXAResource.c~2975bdce5f7ded66: Delete: storage/bdb/libdb_java/java_DbXAResource.c BitKeeper/deleted/.del-java_Dbc.c~c2bfc34d203f2b41: Delete: storage/bdb/libdb_java/java_Dbc.c BitKeeper/deleted/.del-java_Dbt.c~f24bd7e6d3dea272: Delete: storage/bdb/libdb_java/java_Dbt.c BitKeeper/deleted/.del-java_info.c~94759fff93603d0c: Delete: storage/bdb/libdb_java/java_info.c BitKeeper/deleted/.del-java_info.h~3ca48c25797cc075: Delete: storage/bdb/libdb_java/java_info.h BitKeeper/deleted/.del-java_locked.c~c9804f625a17266f: Delete: storage/bdb/libdb_java/java_locked.c BitKeeper/deleted/.del-java_locked.h~106fa45bdca6557: Delete: storage/bdb/libdb_java/java_locked.h BitKeeper/deleted/.del-java_util.c~62c948a9959d3314: Delete: storage/bdb/libdb_java/java_util.c BitKeeper/deleted/.del-java_util.h~a5a6e3e7658a0698: Delete: storage/bdb/libdb_java/java_util.h BitKeeper/deleted/.del-os_vx_abs.c~c4cb2766797c82c: Delete: storage/bdb/os_vxworks/os_vx_abs.c BitKeeper/deleted/.del-os_vx_config.c~2547fc9b4b798ec9: Delete: storage/bdb/os_vxworks/os_vx_config.c BitKeeper/deleted/.del-os_vx_map.c~dde2102a8138f39a: Delete: storage/bdb/os_vxworks/os_vx_map.c BitKeeper/deleted/.del-client.c~778f726f92c4b8c1: Delete: storage/bdb/rpc_client/client.c BitKeeper/deleted/.del-gen_client_ret.c~baf03786112281b1: Delete: storage/bdb/rpc_client/gen_client_ret.c BitKeeper/deleted/.del-clsrv.html~bedbc23a6299a5ef: Delete: storage/bdb/rpc_server/clsrv.html BitKeeper/deleted/.del-rpc.src~5b16d10e77c12a07: Delete: storage/bdb/rpc_server/rpc.src BitKeeper/deleted/.del-db_server_proc.c.in~8f21c610b1adde21: Delete: storage/bdb/rpc_server/c/db_server_proc.c.in BitKeeper/deleted/.del-db_server_util.c~ba8fb3cb91ce91a2: Delete: storage/bdb/rpc_server/c/db_server_util.c BitKeeper/deleted/.del-db_server_cxxproc.cpp~2654e937e22057b8: Delete: storage/bdb/rpc_server/cxx/db_server_cxxproc.cpp BitKeeper/deleted/.del-db_server_cxxutil.cpp~479fef66225389c3: Delete: storage/bdb/rpc_server/cxx/db_server_cxxutil.cpp BitKeeper/deleted/.del-DbDispatcher.java~fa17538a88d55d31: Delete: storage/bdb/rpc_server/java/DbDispatcher.java BitKeeper/deleted/.del-DbServer.java~f9e1d547eb31538: Delete: storage/bdb/rpc_server/java/DbServer.java BitKeeper/deleted/.del-FreeList.java~45b070457c62935c: Delete: storage/bdb/rpc_server/java/FreeList.java BitKeeper/deleted/.del-LocalIterator.java~8cb6df07b817589: Delete: storage/bdb/rpc_server/java/LocalIterator.java BitKeeper/deleted/.del-README~ba12e6afe01eccdb: Delete: storage/bdb/rpc_server/java/README BitKeeper/deleted/.del-RpcDb.java~f3a512764051fc91: Delete: storage/bdb/rpc_server/java/RpcDb.java BitKeeper/deleted/.del-RpcDbEnv.java~30a49486a552aebe: Delete: storage/bdb/rpc_server/java/RpcDbEnv.java BitKeeper/deleted/.del-RpcDbTxn.java~1488264fee2347f0: Delete: storage/bdb/rpc_server/java/RpcDbTxn.java BitKeeper/deleted/.del-RpcDbc.java~e3dee34ecd9224c: Delete: storage/bdb/rpc_server/java/RpcDbc.java BitKeeper/deleted/.del-Timer.java~eac869c015ad1fc2: Delete: storage/bdb/rpc_server/java/Timer.java BitKeeper/deleted/.del-jrpcgen.jar~96b782a68a231bd: Delete: storage/bdb/rpc_server/java/jrpcgen.jar BitKeeper/deleted/.del-oncrpc.jar~f0588659d0f723c: Delete: storage/bdb/rpc_server/java/oncrpc.jar BitKeeper/deleted/.del-DbServerStub.java~412a16b22ae914c5: Delete: storage/bdb/rpc_server/java/gen/DbServerStub.java BitKeeper/deleted/.del-s_jrpcgen~eea48620d17035ff: Delete: storage/bdb/rpc_server/java/s_jrpcgen BitKeeper/deleted/.del-__db_associate_msg.java~ead380cad8a83405: Delete: storage/bdb/rpc_server/java/gen/__db_associate_msg.java BitKeeper/deleted/.del-__db_associate_reply.java~50abd1ffed116bfc: Delete: storage/bdb/rpc_server/java/gen/__db_associate_reply.java BitKeeper/deleted/.del-__db_bt_maxkey_msg.java~9870e67c8420d97e: Delete: storage/bdb/rpc_server/java/gen/__db_bt_maxkey_msg.java BitKeeper/deleted/.del-__db_bt_maxkey_reply.java~25c4caf1c0b1917a: Delete: storage/bdb/rpc_server/java/gen/__db_bt_maxkey_reply.java BitKeeper/deleted/.del-__db_bt_minkey_msg.java~7eb5c14fb24b9d6a: Delete: storage/bdb/rpc_server/java/gen/__db_bt_minkey_msg.java BitKeeper/deleted/.del-__db_bt_minkey_reply.java~bca9c5ea81c46760: Delete: storage/bdb/rpc_server/java/gen/__db_bt_minkey_reply.java BitKeeper/deleted/.del-__db_close_msg.java~f04ee69a1ba56835: Delete: storage/bdb/rpc_server/java/gen/__db_close_msg.java BitKeeper/deleted/.del-__db_close_reply.java~b28cc0d86864f4e4: Delete: storage/bdb/rpc_server/java/gen/__db_close_reply.java BitKeeper/deleted/.del-__db_create_msg.java~1aaa9e535b899a04: Delete: storage/bdb/rpc_server/java/gen/__db_create_msg.java BitKeeper/deleted/.del-__db_create_reply.java~4d1ec958b6e49be8: Delete: storage/bdb/rpc_server/java/gen/__db_create_reply.java BitKeeper/deleted/.del-__db_cursor_msg.java~cf76a6ca7b0a55c1: Delete: storage/bdb/rpc_server/java/gen/__db_cursor_msg.java BitKeeper/deleted/.del-__db_cursor_reply.java~f001474e68713f66: Delete: storage/bdb/rpc_server/java/gen/__db_cursor_reply.java BitKeeper/deleted/.del-__db_del_msg.java~941d3f21685abda5: Delete: storage/bdb/rpc_server/java/gen/__db_del_msg.java BitKeeper/deleted/.del-__db_del_reply.java~86d1a74e7667c534: Delete: storage/bdb/rpc_server/java/gen/__db_del_reply.java BitKeeper/deleted/.del-__db_encrypt_msg.java~e471e1131c7c9991: Delete: storage/bdb/rpc_server/java/gen/__db_encrypt_msg.java BitKeeper/deleted/.del-__db_encrypt_reply.java~77eaf465989f374f: Delete: storage/bdb/rpc_server/java/gen/__db_encrypt_reply.java BitKeeper/deleted/.del-__db_extentsize_msg.java~98b41250d80d7f25: Delete: storage/bdb/rpc_server/java/gen/__db_extentsize_msg.java BitKeeper/deleted/.del-__db_extentsize_reply.java~5a19d472b4c78471: Delete: storage/bdb/rpc_server/java/gen/__db_extentsize_reply.java BitKeeper/deleted/.del-__db_flags_msg.java~441eed476fac3b75: Delete: storage/bdb/rpc_server/java/gen/__db_flags_msg.java BitKeeper/deleted/.del-__db_flags_reply.java~fbe276e35c025e85: Delete: storage/bdb/rpc_server/java/gen/__db_flags_reply.java BitKeeper/deleted/.del-__db_get_msg.java~5862039845a2e82e: Delete: storage/bdb/rpc_server/java/gen/__db_get_msg.java BitKeeper/deleted/.del-__db_get_reply.java~13a5b37f6e1c75a6: Delete: storage/bdb/rpc_server/java/gen/__db_get_reply.java BitKeeper/deleted/.del-__db_h_ffactor_msg.java~3ae99a79bbc32ace: Delete: storage/bdb/rpc_server/java/gen/__db_h_ffactor_msg.java BitKeeper/deleted/.del-__db_h_ffactor_reply.java~49fa9e30aa29cf15: Delete: storage/bdb/rpc_server/java/gen/__db_h_ffactor_reply.java BitKeeper/deleted/.del-__db_h_nelem_msg.java~a74540e24c2376ac: Delete: storage/bdb/rpc_server/java/gen/__db_h_nelem_msg.java BitKeeper/deleted/.del-__db_h_nelem_reply.java~fdefe84280309a69: Delete: storage/bdb/rpc_server/java/gen/__db_h_nelem_reply.java BitKeeper/deleted/.del-__db_join_msg.java~bb9bae2ff960548: Delete: storage/bdb/rpc_server/java/gen/__db_join_msg.java BitKeeper/deleted/.del-__db_join_reply.java~938be1f7a7fa1d8d: Delete: storage/bdb/rpc_server/java/gen/__db_join_reply.java BitKeeper/deleted/.del-__db_key_range_msg.java~c8d5cc3c2dc970d4: Delete: storage/bdb/rpc_server/java/gen/__db_key_range_msg.java BitKeeper/deleted/.del-__db_key_range_reply.java~92b341e0314f22d9: Delete: storage/bdb/rpc_server/java/gen/__db_key_range_reply.java BitKeeper/deleted/.del-__db_lorder_msg.java~db0ee150bd760a09: Delete: storage/bdb/rpc_server/java/gen/__db_lorder_msg.java BitKeeper/deleted/.del-__db_lorder_reply.java~e22ba9a03ff14a74: Delete: storage/bdb/rpc_server/java/gen/__db_lorder_reply.java BitKeeper/deleted/.del-__db_open_msg.java~dc63c84feda071ee: Delete: storage/bdb/rpc_server/java/gen/__db_open_msg.java BitKeeper/deleted/.del-__db_open_reply.java~cc17c92d41c40: Delete: storage/bdb/rpc_server/java/gen/__db_open_reply.java BitKeeper/deleted/.del-__db_pagesize_msg.java~448d1d04d3c7220f: Delete: storage/bdb/rpc_server/java/gen/__db_pagesize_msg.java BitKeeper/deleted/.del-__db_pagesize_reply.java~cddff625518b077c: Delete: storage/bdb/rpc_server/java/gen/__db_pagesize_reply.java BitKeeper/deleted/.del-__db_pget_msg.java~d47b18162af92a04: Delete: storage/bdb/rpc_server/java/gen/__db_pget_msg.java BitKeeper/deleted/.del-__db_pget_reply.java~51e8ec0bb4a42ddb: Delete: storage/bdb/rpc_server/java/gen/__db_pget_reply.java BitKeeper/deleted/.del-__db_put_msg.java~11d62e0be1df9770: Delete: storage/bdb/rpc_server/java/gen/__db_put_msg.java BitKeeper/deleted/.del-__db_put_reply.java~237edfe6e16b98dc: Delete: storage/bdb/rpc_server/java/gen/__db_put_reply.java BitKeeper/deleted/.del-__db_re_delim_msg.java~6f1d8808ae1268f7: Delete: storage/bdb/rpc_server/java/gen/__db_re_delim_msg.java BitKeeper/deleted/.del-__db_re_delim_reply.java~9b3748da6051f58f: Delete: storage/bdb/rpc_server/java/gen/__db_re_delim_reply.java BitKeeper/deleted/.del-__db_re_len_msg.java~b81150167375308c: Delete: storage/bdb/rpc_server/java/gen/__db_re_len_msg.java BitKeeper/deleted/.del-__db_re_len_reply.java~cd4a1c758256deed: Delete: storage/bdb/rpc_server/java/gen/__db_re_len_reply.java BitKeeper/deleted/.del-__db_re_pad_msg.java~bf9899217833aab7: Delete: storage/bdb/rpc_server/java/gen/__db_re_pad_msg.java BitKeeper/deleted/.del-__db_re_pad_reply.java~1617988ae3b4ed7: Delete: storage/bdb/rpc_server/java/gen/__db_re_pad_reply.java BitKeeper/deleted/.del-__db_remove_msg.java~6500258dda02905: Delete: storage/bdb/rpc_server/java/gen/__db_remove_msg.java BitKeeper/deleted/.del-__db_remove_reply.java~2f120860c28c2147: Delete: storage/bdb/rpc_server/java/gen/__db_remove_reply.java BitKeeper/deleted/.del-__db_rename_msg.java~e257f5621523c010: Delete: storage/bdb/rpc_server/java/gen/__db_rename_msg.java BitKeeper/deleted/.del-__db_rename_reply.java~3d9b0d71ddef1e4f: Delete: storage/bdb/rpc_server/java/gen/__db_rename_reply.java BitKeeper/deleted/.del-__db_stat_msg.java~18777f8abf4c6db7: Delete: storage/bdb/rpc_server/java/gen/__db_stat_msg.java BitKeeper/deleted/.del-__db_stat_reply.java~c65aa70ee0b3fa4b: Delete: storage/bdb/rpc_server/java/gen/__db_stat_reply.java BitKeeper/deleted/.del-__db_sync_msg.java~2d528efa77b52f8e: Delete: storage/bdb/rpc_server/java/gen/__db_sync_msg.java BitKeeper/deleted/.del-__db_sync_reply.java~4618b14ca6182d1c: Delete: storage/bdb/rpc_server/java/gen/__db_sync_reply.java BitKeeper/deleted/.del-__db_truncate_msg.java~7f0b791efc19d01: Delete: storage/bdb/rpc_server/java/gen/__db_truncate_msg.java BitKeeper/deleted/.del-__db_truncate_reply.java~6b546b15b67c4b10: Delete: storage/bdb/rpc_server/java/gen/__db_truncate_reply.java BitKeeper/deleted/.del-__dbc_close_msg.java~dec9c28a443eded7: Delete: storage/bdb/rpc_server/java/gen/__dbc_close_msg.java BitKeeper/deleted/.del-__dbc_close_reply.java~936e3d08683e1807: Delete: storage/bdb/rpc_server/java/gen/__dbc_close_reply.java BitKeeper/deleted/.del-__dbc_count_msg.java~596f6137c3cbb9f: Delete: storage/bdb/rpc_server/java/gen/__dbc_count_msg.java BitKeeper/deleted/.del-__dbc_count_reply.java~2f9ae9c77e69db07: Delete: storage/bdb/rpc_server/java/gen/__dbc_count_reply.java BitKeeper/deleted/.del-__dbc_del_msg.java~e3ee262c41809935: Delete: storage/bdb/rpc_server/java/gen/__dbc_del_msg.java BitKeeper/deleted/.del-__dbc_del_reply.java~b30ad669b593c26e: Delete: storage/bdb/rpc_server/java/gen/__dbc_del_reply.java BitKeeper/deleted/.del-__dbc_dup_msg.java~a507a9f28cb94fd9: Delete: storage/bdb/rpc_server/java/gen/__dbc_dup_msg.java BitKeeper/deleted/.del-__dbc_dup_reply.java~e14ee0a887f36027: Delete: storage/bdb/rpc_server/java/gen/__dbc_dup_reply.java BitKeeper/deleted/.del-__dbc_get_msg.java~38d851bc7f22434f: Delete: storage/bdb/rpc_server/java/gen/__dbc_get_msg.java BitKeeper/deleted/.del-__dbc_get_reply.java~a2c3a3c61d891a43: Delete: storage/bdb/rpc_server/java/gen/__dbc_get_reply.java BitKeeper/deleted/.del-__dbc_pget_msg.java~68be7ca3574c35e8: Delete: storage/bdb/rpc_server/java/gen/__dbc_pget_msg.java BitKeeper/deleted/.del-__dbc_pget_reply.java~d7a142e0d03d215: Delete: storage/bdb/rpc_server/java/gen/__dbc_pget_reply.java BitKeeper/deleted/.del-__dbc_put_msg.java~8ffa5f73f1dc24a8: Delete: storage/bdb/rpc_server/java/gen/__dbc_put_msg.java BitKeeper/deleted/.del-__dbc_put_reply.java~fa591c2170712742: Delete: storage/bdb/rpc_server/java/gen/__dbc_put_reply.java BitKeeper/deleted/.del-__env_cachesize_msg.java~e1617ac675f39ff9: Delete: storage/bdb/rpc_server/java/gen/__env_cachesize_msg.java BitKeeper/deleted/.del-__env_cachesize_reply.java~46d61203dc67225a: Delete: storage/bdb/rpc_server/java/gen/__env_cachesize_reply.java BitKeeper/deleted/.del-__env_close_msg.java~2b7cf5642c11b060: Delete: storage/bdb/rpc_server/java/gen/__env_close_msg.java BitKeeper/deleted/.del-__env_close_reply.java~e7e5a0bd1ac10bb5: Delete: storage/bdb/rpc_server/java/gen/__env_close_reply.java BitKeeper/deleted/.del-__env_create_msg.java~a232d9b338470735: Delete: storage/bdb/rpc_server/java/gen/__env_create_msg.java BitKeeper/deleted/.del-__env_create_reply.java~349471db68b992c: Delete: storage/bdb/rpc_server/java/gen/__env_create_reply.java BitKeeper/deleted/.del-__env_dbremove_msg.java~e4fcb5d31ea42840: Delete: storage/bdb/rpc_server/java/gen/__env_dbremove_msg.java BitKeeper/deleted/.del-__env_dbremove_reply.java~6ad639e29ee2c24d: Delete: storage/bdb/rpc_server/java/gen/__env_dbremove_reply.java BitKeeper/deleted/.del-__env_dbrename_msg.java~e4082b7dda94a15e: Delete: storage/bdb/rpc_server/java/gen/__env_dbrename_msg.java BitKeeper/deleted/.del-__env_dbrename_reply.java~a514af5890b9c792: Delete: storage/bdb/rpc_server/java/gen/__env_dbrename_reply.java BitKeeper/deleted/.del-__env_encrypt_msg.java~68541e7234a74fff: Delete: storage/bdb/rpc_server/java/gen/__env_encrypt_msg.java BitKeeper/deleted/.del-__env_encrypt_reply.java~3acfdefa98f6e4ad: Delete: storage/bdb/rpc_server/java/gen/__env_encrypt_reply.java BitKeeper/deleted/.del-__env_flags_msg.java~5868dc483eaea72d: Delete: storage/bdb/rpc_server/java/gen/__env_flags_msg.java BitKeeper/deleted/.del-__env_flags_reply.java~665b55b6cf470004: Delete: storage/bdb/rpc_server/java/gen/__env_flags_reply.java BitKeeper/deleted/.del-__env_open_msg.java~aabfb33c7b09cf55: Delete: storage/bdb/rpc_server/java/gen/__env_open_msg.java BitKeeper/deleted/.del-__env_open_reply.java~7cdc7e4f38510648: Delete: storage/bdb/rpc_server/java/gen/__env_open_reply.java BitKeeper/deleted/.del-__env_remove_msg.java~6a21875bb076d162: Delete: storage/bdb/rpc_server/java/gen/__env_remove_msg.java BitKeeper/deleted/.del-__env_remove_reply.java~76663da926423372: Delete: storage/bdb/rpc_server/java/gen/__env_remove_reply.java BitKeeper/deleted/.del-__txn_abort_msg.java~f8e890f75d0f694b: Delete: storage/bdb/rpc_server/java/gen/__txn_abort_msg.java BitKeeper/deleted/.del-__txn_abort_reply.java~678ad0b6363c2758: Delete: storage/bdb/rpc_server/java/gen/__txn_abort_reply.java BitKeeper/deleted/.del-__txn_begin_msg.java~b783c040ab7afcb1: Delete: storage/bdb/rpc_server/java/gen/__txn_begin_msg.java BitKeeper/deleted/.del-__txn_begin_reply.java~92bff8b98e06b023: Delete: storage/bdb/rpc_server/java/gen/__txn_begin_reply.java BitKeeper/deleted/.del-__txn_commit_msg.java~5a40acc93f71e243: Delete: storage/bdb/rpc_server/java/gen/__txn_commit_msg.java BitKeeper/deleted/.del-__txn_commit_reply.java~f532e87a8f8ba8a8: Delete: storage/bdb/rpc_server/java/gen/__txn_commit_reply.java BitKeeper/deleted/.del-__txn_discard_msg.java~cf3b52abd646bbe: Delete: storage/bdb/rpc_server/java/gen/__txn_discard_msg.java BitKeeper/deleted/.del-__txn_discard_reply.java~695b92637d8c6107: Delete: storage/bdb/rpc_server/java/gen/__txn_discard_reply.java BitKeeper/deleted/.del-__txn_prepare_msg.java~9547b20ee838b37f: Delete: storage/bdb/rpc_server/java/gen/__txn_prepare_msg.java BitKeeper/deleted/.del-__txn_prepare_reply.java~2c9e2f8435b960cd: Delete: storage/bdb/rpc_server/java/gen/__txn_prepare_reply.java BitKeeper/deleted/.del-__txn_recover_msg.java~e8b91e7a491bf424: Delete: storage/bdb/rpc_server/java/gen/__txn_recover_msg.java BitKeeper/deleted/.del-__txn_recover_reply.java~4548cbca6b058d06: Delete: storage/bdb/rpc_server/java/gen/__txn_recover_reply.java BitKeeper/deleted/.del-db_server.java~7da469d45426b310: Delete: storage/bdb/rpc_server/java/gen/db_server.java BitKeeper/deleted/.del-Btree.pm~d7ddd8ca99da1884: Delete: storage/bdb/perl/BerkeleyDB/BerkeleyDB/Btree.pm BitKeeper/deleted/.del-Hash.pm~6c3032fb51011864: Delete: storage/bdb/perl/BerkeleyDB/BerkeleyDB/Hash.pm BitKeeper/deleted/.del-BerkeleyDB.pm~b36f7b4b21d6a326: Delete: storage/bdb/perl/BerkeleyDB/BerkeleyDB.pm BitKeeper/deleted/.del-BerkeleyDB.pod~cf47ec2bb9d97c80: Delete: storage/bdb/perl/BerkeleyDB/BerkeleyDB.pod BitKeeper/deleted/.del-BerkeleyDB.pod.P~be77a6f219f7803f: Delete: storage/bdb/perl/BerkeleyDB/BerkeleyDB.pod.P BitKeeper/deleted/.del-BerkeleyDB.xs~46038b9ecc2b0994: Delete: storage/bdb/perl/BerkeleyDB/BerkeleyDB.xs BitKeeper/deleted/.del-Changes~51eceef1511d2b8e: Delete: storage/bdb/perl/BerkeleyDB/Changes BitKeeper/deleted/.del-MANIFEST~82a35c39f9f9dc92: Delete: storage/bdb/perl/BerkeleyDB/MANIFEST BitKeeper/deleted/.del-META.yml~5d2eb91de2ace77: Delete: storage/bdb/perl/BerkeleyDB/META.yml BitKeeper/deleted/.del-Makefile.PL~6c30b40064dc93bc: Delete: storage/bdb/perl/BerkeleyDB/Makefile.PL BitKeeper/deleted/.del-README~2c9091895ce880ad: Delete: storage/bdb/perl/BerkeleyDB/README BitKeeper/deleted/.del-Todo~31c9e469be7d7fce: Delete: storage/bdb/perl/BerkeleyDB/Todo BitKeeper/deleted/.del-config.in~5ee173677818dc79: Delete: storage/bdb/perl/BerkeleyDB/config.in BitKeeper/deleted/.del-constants.h~ef5ed100dd4398b9: Delete: storage/bdb/perl/BerkeleyDB/constants.h BitKeeper/deleted/.del-constants.xs~9f261dece7663f4: Delete: storage/bdb/perl/BerkeleyDB/constants.xs BitKeeper/deleted/.del-dbinfo~143868bf1fee3891: Delete: storage/bdb/perl/BerkeleyDB/dbinfo BitKeeper/deleted/.del-mkconsts~d6db2129cd65a044: Delete: storage/bdb/perl/BerkeleyDB/mkconsts BitKeeper/deleted/.del-mkpod~86cf6dafc3259b14: Delete: storage/bdb/perl/BerkeleyDB/mkpod BitKeeper/deleted/.del-ppport.h~e8e959489bac6b4e: Delete: storage/bdb/perl/BerkeleyDB/ppport.h BitKeeper/deleted/.del-scan~d41c8bfdde29e0ee: Delete: storage/bdb/perl/BerkeleyDB/scan BitKeeper/deleted/.del-dec_osf.pl~bb1dd3f7343acea1: Delete: storage/bdb/perl/BerkeleyDB/hints/dec_osf.pl BitKeeper/deleted/.del-typemap~bc62fd16304b335c: Delete: storage/bdb/perl/BerkeleyDB/typemap BitKeeper/deleted/.del-irix_6_5.pl~6cf1332ac7c6d177: Delete: storage/bdb/perl/BerkeleyDB/hints/irix_6_5.pl BitKeeper/deleted/.del-5.004~80083b2782fae3b1: Delete: storage/bdb/perl/BerkeleyDB/patches/5.004 BitKeeper/deleted/.del-solaris.pl~b7440db23153ada1: Delete: storage/bdb/perl/BerkeleyDB/hints/solaris.pl BitKeeper/deleted/.del-5.004_01~5e653651e8e3819: Delete: storage/bdb/perl/BerkeleyDB/patches/5.004_01 BitKeeper/deleted/.del-5.004_02~1a8749849460471d: Delete: storage/bdb/perl/BerkeleyDB/patches/5.004_02 BitKeeper/deleted/.del-5.004_03~e3fefc28c49ad553: Delete: storage/bdb/perl/BerkeleyDB/patches/5.004_03 BitKeeper/deleted/.del-5.004_04~2acad6626738297f: Delete: storage/bdb/perl/BerkeleyDB/patches/5.004_04 BitKeeper/deleted/.del-5.004_05~740d60296a10e2b6: Delete: storage/bdb/perl/BerkeleyDB/patches/5.004_05 BitKeeper/deleted/.del-5.005~4df32971d111b075: Delete: storage/bdb/perl/BerkeleyDB/patches/5.005 BitKeeper/deleted/.del-5.005_01~fc87edb6772b5b6c: Delete: storage/bdb/perl/BerkeleyDB/patches/5.005_01 BitKeeper/deleted/.del-5.005_02~31d0796db6079b6a: Delete: storage/bdb/perl/BerkeleyDB/patches/5.005_02 BitKeeper/deleted/.del-5.005_03~a9e6b8287f9f0348: Delete: storage/bdb/perl/BerkeleyDB/patches/5.005_03 BitKeeper/deleted/.del-5.6.0~48068342df311cef: Delete: storage/bdb/perl/BerkeleyDB/patches/5.6.0 BitKeeper/deleted/.del-btree.t~e009d5c64dabc628: Delete: storage/bdb/perl/BerkeleyDB/t/btree.t BitKeeper/deleted/.del-cds.t~6393f9b74adda854: Delete: storage/bdb/perl/BerkeleyDB/t/cds.t BitKeeper/deleted/.del-destroy.t~aed694cd9448ef26: Delete: storage/bdb/perl/BerkeleyDB/t/destroy.t BitKeeper/deleted/.del-encrypt.t~91e1152aa288384d: Delete: storage/bdb/perl/BerkeleyDB/t/encrypt.t BitKeeper/deleted/.del-env.t~c1aa03091db9670: Delete: storage/bdb/perl/BerkeleyDB/t/env.t BitKeeper/deleted/.del-examples.t~b1e3ca3da78b9898: Delete: storage/bdb/perl/BerkeleyDB/t/examples.t BitKeeper/deleted/.del-examples.t.T~c0f55d47f279a7e2: Delete: storage/bdb/perl/BerkeleyDB/t/examples.t.T BitKeeper/deleted/.del-examples3.t.T~452caaaefd5c648b: Delete: storage/bdb/perl/BerkeleyDB/t/examples3.t.T BitKeeper/deleted/.del-examples3.t~f712dfeec05867fb: Delete: storage/bdb/perl/BerkeleyDB/t/examples3.t BitKeeper/deleted/.del-filter.t~48b7f05a43464f11: Delete: storage/bdb/perl/BerkeleyDB/t/filter.t BitKeeper/deleted/.del-hash.t~92eb3848961b229b: Delete: storage/bdb/perl/BerkeleyDB/t/hash.t BitKeeper/deleted/.del-join.t~256f4a5c41c79938: Delete: storage/bdb/perl/BerkeleyDB/t/join.t BitKeeper/deleted/.del-mldbm.t~8189f0dc9b4ef4: Delete: storage/bdb/perl/BerkeleyDB/t/mldbm.t BitKeeper/deleted/.del-pod.t~544de536d7c16d1f: Delete: storage/bdb/perl/BerkeleyDB/t/pod.t BitKeeper/deleted/.del-queue.t~c9c560769cc1cb7b: Delete: storage/bdb/perl/BerkeleyDB/t/queue.t BitKeeper/deleted/.del-recno.t~28b76050831a3cae: Delete: storage/bdb/perl/BerkeleyDB/t/recno.t BitKeeper/deleted/.del-strict.t~20b543351fd50fc0: Delete: storage/bdb/perl/BerkeleyDB/t/strict.t BitKeeper/deleted/.del-subdb.t~56324aaeb936c7f1: Delete: storage/bdb/perl/BerkeleyDB/t/subdb.t BitKeeper/deleted/.del-txn.t~546ac62364616115: Delete: storage/bdb/perl/BerkeleyDB/t/txn.t BitKeeper/deleted/.del-unknown.t~2f5dc0ece63926c4: Delete: storage/bdb/perl/BerkeleyDB/t/unknown.t BitKeeper/deleted/.del-util.pm~27e29eb4fddd71a5: Delete: storage/bdb/perl/BerkeleyDB/t/util.pm BitKeeper/deleted/.del-Changes~f0e3f260c5b81da4: Delete: storage/bdb/perl/DB_File/Changes BitKeeper/deleted/.del-DB_File.pm~108149cc66802405: Delete: storage/bdb/perl/DB_File/DB_File.pm BitKeeper/deleted/.del-DB_File.xs~8c61b34efd458ffc: Delete: storage/bdb/perl/DB_File/DB_File.xs BitKeeper/deleted/.del-DB_File_BS~74e05e841c69424: Delete: storage/bdb/perl/DB_File/DB_File_BS BitKeeper/deleted/.del-MANIFEST~5048670bca9a416: Delete: storage/bdb/perl/DB_File/MANIFEST BitKeeper/deleted/.del-META.yml~99d0c37ae405a9bd: Delete: storage/bdb/perl/DB_File/META.yml BitKeeper/deleted/.del-Makefile.PL~18275ea2225dbf0c: Delete: storage/bdb/perl/DB_File/Makefile.PL BitKeeper/deleted/.del-README~9ca1ac49d099e79a: Delete: storage/bdb/perl/DB_File/README BitKeeper/deleted/.del-config.in~fac3c512af0f372a: Delete: storage/bdb/perl/DB_File/config.in BitKeeper/deleted/.del-dbinfo~9de945c9960a5600: Delete: storage/bdb/perl/DB_File/dbinfo BitKeeper/deleted/.del-fallback.h~9975a2248666cd3e: Delete: storage/bdb/perl/DB_File/fallback.h BitKeeper/deleted/.del-fallback.xs~20972a102becd17c: Delete: storage/bdb/perl/DB_File/fallback.xs BitKeeper/deleted/.del-ppport.h~b24a0fced14b654: Delete: storage/bdb/perl/DB_File/ppport.h BitKeeper/deleted/.del-typemap~5581c211c9caa676: Delete: storage/bdb/perl/DB_File/typemap BitKeeper/deleted/.del-dynixptx.pl~fe52539bc8f324ba: Delete: storage/bdb/perl/DB_File/hints/dynixptx.pl BitKeeper/deleted/.del-version.c~5d8c4ea020639989: Delete: storage/bdb/perl/DB_File/version.c BitKeeper/deleted/.del-sco.pl~3d5472171a399180: Delete: storage/bdb/perl/DB_File/hints/sco.pl BitKeeper/deleted/.del-5.004_01~ff446a68fbd4f0b8: Delete: storage/bdb/perl/DB_File/patches/5.004_01 BitKeeper/deleted/.del-5.004~93f4db16a08fd2bc: Delete: storage/bdb/perl/DB_File/patches/5.004 BitKeeper/deleted/.del-5.004_02~82bb39971394b02a: Delete: storage/bdb/perl/DB_File/patches/5.004_02 BitKeeper/deleted/.del-5.004_03~b7c43469f9885933: Delete: storage/bdb/perl/DB_File/patches/5.004_03 BitKeeper/deleted/.del-5.004_04~24f77fc8ce4c05a4: Delete: storage/bdb/perl/DB_File/patches/5.004_04 BitKeeper/deleted/.del-5.004_05~edb5ae874e40ac5: Delete: storage/bdb/perl/DB_File/patches/5.004_05 BitKeeper/deleted/.del-5.005~71d4c109691053f2: Delete: storage/bdb/perl/DB_File/patches/5.005 BitKeeper/deleted/.del-5.005_01~eb5fede99787c288: Delete: storage/bdb/perl/DB_File/patches/5.005_01 BitKeeper/deleted/.del-5.005_02~4cd3657759345990: Delete: storage/bdb/perl/DB_File/patches/5.005_02 BitKeeper/deleted/.del-5.005_03~18145a5d8ddd06f: Delete: storage/bdb/perl/DB_File/patches/5.005_03 BitKeeper/deleted/.del-5.6.0~3697abb57c4fd3b9: Delete: storage/bdb/perl/DB_File/patches/5.6.0 BitKeeper/deleted/.del-db-btree.t~154014b7530d8be3: Delete: storage/bdb/perl/DB_File/t/db-btree.t BitKeeper/deleted/.del-db-hash.t~19bb665f32275d9a: Delete: storage/bdb/perl/DB_File/t/db-hash.t BitKeeper/deleted/.del-db-recno.t~8a56bdfc2f73371: Delete: storage/bdb/perl/DB_File/t/db-recno.t BitKeeper/deleted/.del-tcl_compat.c~5a8010d160060a98: Delete: storage/bdb/tcl/tcl_compat.c BitKeeper/deleted/.del-tcl_db.c~8fdaaad2aeeda35e: Delete: storage/bdb/tcl/tcl_db.c BitKeeper/deleted/.del-tcl_db_pkg.c~2f0f287f3831577c: Delete: storage/bdb/tcl/tcl_db_pkg.c BitKeeper/deleted/.del-tcl_dbcursor.c~625ad62ba96af2ed: Delete: storage/bdb/tcl/tcl_dbcursor.c BitKeeper/deleted/.del-tcl_env.c~4f598ca35d3c4f8b: Delete: storage/bdb/tcl/tcl_env.c BitKeeper/deleted/.del-tcl_internal.c~f6ca168017fd06e1: Delete: storage/bdb/tcl/tcl_internal.c BitKeeper/deleted/.del-tcl_lock.c~5a2c6bd823eef42c: Delete: storage/bdb/tcl/tcl_lock.c BitKeeper/deleted/.del-tcl_log.c~a8a8d90da56a5e07: Delete: storage/bdb/tcl/tcl_log.c BitKeeper/deleted/.del-tcl_mp.c~22565406c6a6462b: Delete: storage/bdb/tcl/tcl_mp.c BitKeeper/deleted/.del-tcl_rep.c~e6566d8441250794: Delete: storage/bdb/tcl/tcl_rep.c BitKeeper/deleted/.del-tcl_seq.c~c38c7f7d22abc6de: Delete: storage/bdb/tcl/tcl_seq.c BitKeeper/deleted/.del-tcl_txn.c~e8729bea575a01bb: Delete: storage/bdb/tcl/tcl_txn.c BitKeeper/deleted/.del-tcl_util.c~32bd9f706e204afd: Delete: storage/bdb/tcl/tcl_util.c BitKeeper/deleted/.del-db.html~2cea96773f8bc0a9: Delete: storage/bdb/tcl/docs/db.html BitKeeper/deleted/.del-env.html~882c3ffaf3ea10a6: Delete: storage/bdb/tcl/docs/env.html BitKeeper/deleted/.del-historic.html~27efa50d7af02fa0: Delete: storage/bdb/tcl/docs/historic.html BitKeeper/deleted/.del-index.html~27e6b3e9ca7eb3bc: Delete: storage/bdb/tcl/docs/index.html BitKeeper/deleted/.del-library.html~d60be859a6d3fdbb: Delete: storage/bdb/tcl/docs/library.html BitKeeper/deleted/.del-lock.html~121ccf43b1822008: Delete: storage/bdb/tcl/docs/lock.html BitKeeper/deleted/.del-log.html~d51c4a05bac8893f: Delete: storage/bdb/tcl/docs/log.html BitKeeper/deleted/.del-mpool.html~cad6eba280ff4db1: Delete: storage/bdb/tcl/docs/mpool.html BitKeeper/deleted/.del-rep.html~56203335b51b864a: Delete: storage/bdb/tcl/docs/rep.html BitKeeper/deleted/.del-test.html~987c2f02707fbaa6: Delete: storage/bdb/tcl/docs/test.html BitKeeper/deleted/.del-txn.html~696a0a46ef941059: Delete: storage/bdb/tcl/docs/txn.html BitKeeper/deleted/.del-archive.tcl~8e8c452487960455: Delete: storage/bdb/test/archive.tcl BitKeeper/deleted/.del-bigfile001.tcl~899a31b17c2dc7e2: Delete: storage/bdb/test/bigfile001.tcl BitKeeper/deleted/.del-bigfile002.tcl~3ff5b1b29cc2d9f0: Delete: storage/bdb/test/bigfile002.tcl BitKeeper/deleted/.del-byteorder.tcl~fa49cd99b5ef4a27: Delete: storage/bdb/test/byteorder.tcl BitKeeper/deleted/.del-conscript.tcl~52f54459d6ba9e1f: Delete: storage/bdb/test/conscript.tcl BitKeeper/deleted/.del-dbm.tcl~fc57479c1349169c: Delete: storage/bdb/test/dbm.tcl BitKeeper/deleted/.del-dbscript.tcl~808ff0b03a79a48a: Delete: storage/bdb/test/dbscript.tcl BitKeeper/deleted/.del-ddoyscript.tcl~a84d00bcc3e22889: Delete: storage/bdb/test/ddoyscript.tcl BitKeeper/deleted/.del-ddscript.tcl~2fa930b65d65212b: Delete: storage/bdb/test/ddscript.tcl BitKeeper/deleted/.del-dead001.tcl~b8ee6deab2cf41: Delete: storage/bdb/test/dead001.tcl BitKeeper/deleted/.del-dead002.tcl~4ac413316f37d12: Delete: storage/bdb/test/dead002.tcl BitKeeper/deleted/.del-dead003.tcl~ef79ddad4ad28e2: Delete: storage/bdb/test/dead003.tcl BitKeeper/deleted/.del-dead004.tcl~45fb32cae919f872: Delete: storage/bdb/test/dead004.tcl BitKeeper/deleted/.del-dead005.tcl~cb0208bc8e023367: Delete: storage/bdb/test/dead005.tcl BitKeeper/deleted/.del-dead006.tcl~70e8875ef45eede8: Delete: storage/bdb/test/dead006.tcl BitKeeper/deleted/.del-dead007.tcl~55aae8b9c7d421fa: Delete: storage/bdb/test/dead007.tcl BitKeeper/deleted/.del-env001.tcl~99979288b7da80c8: Delete: storage/bdb/test/env001.tcl BitKeeper/deleted/.del-env002.tcl~5debc4ae93c72d68: Delete: storage/bdb/test/env002.tcl BitKeeper/deleted/.del-env003.tcl~121fcf8dc7778d34: Delete: storage/bdb/test/env003.tcl BitKeeper/deleted/.del-env004.tcl~e7807309994bded4: Delete: storage/bdb/test/env004.tcl BitKeeper/deleted/.del-env005.tcl~e4f000e9c61b43d1: Delete: storage/bdb/test/env005.tcl BitKeeper/deleted/.del-env006.tcl~92493fc7761a9865: Delete: storage/bdb/test/env006.tcl BitKeeper/deleted/.del-env007.tcl~2e6fab912f6358c0: Delete: storage/bdb/test/env007.tcl BitKeeper/deleted/.del-env008.tcl~fd2df2fc17f08dc7: Delete: storage/bdb/test/env008.tcl BitKeeper/deleted/.del-env009.tcl~98a210e96f4b00e0: Delete: storage/bdb/test/env009.tcl BitKeeper/deleted/.del-env010.tcl~41352761470bb901: Delete: storage/bdb/test/env010.tcl BitKeeper/deleted/.del-env011.tcl~76ceb885491bc871: Delete: storage/bdb/test/env011.tcl BitKeeper/deleted/.del-hsearch.tcl~34a91568c7541aa: Delete: storage/bdb/test/hsearch.tcl BitKeeper/deleted/.del-join.tcl~b503918cf9e496d1: Delete: storage/bdb/test/join.tcl BitKeeper/deleted/.del-lock001.tcl~5e6ac15c660212c3: Delete: storage/bdb/test/lock001.tcl BitKeeper/deleted/.del-lock002.tcl~ba8f9432fb2ac00d: Delete: storage/bdb/test/lock002.tcl BitKeeper/deleted/.del-lock003.tcl~759cc2bf13380ab5: Delete: storage/bdb/test/lock003.tcl BitKeeper/deleted/.del-lock004.tcl~9e51c2eba91943a0: Delete: storage/bdb/test/lock004.tcl BitKeeper/deleted/.del-lock005.tcl~a7a6d094b22f85bb: Delete: storage/bdb/test/lock005.tcl BitKeeper/deleted/.del-lockscript.tcl~a5adf8083780b5ab: Delete: storage/bdb/test/lockscript.tcl BitKeeper/deleted/.del-log001.tcl~f7d62b195fc6d308: Delete: storage/bdb/test/log001.tcl BitKeeper/deleted/.del-log002.tcl~c5acccda93ad2079: Delete: storage/bdb/test/log002.tcl BitKeeper/deleted/.del-log003.tcl~5bf8d64f40a171c: Delete: storage/bdb/test/log003.tcl BitKeeper/deleted/.del-log004.tcl~9bf0857249b0c080: Delete: storage/bdb/test/log004.tcl BitKeeper/deleted/.del-log005.tcl~12b7ef7064a17ef3: Delete: storage/bdb/test/log005.tcl BitKeeper/deleted/.del-logtrack.tcl~9197d7cf5d0bec52: Delete: storage/bdb/test/logtrack.tcl BitKeeper/deleted/.del-mdbscript.tcl~fba3f049f17b2af6: Delete: storage/bdb/test/mdbscript.tcl BitKeeper/deleted/.del-memp001.tcl~ab8f63cc9fcfb794: Delete: storage/bdb/test/memp001.tcl BitKeeper/deleted/.del-memp002.tcl~e5d78e0b4e90ff48: Delete: storage/bdb/test/memp002.tcl BitKeeper/deleted/.del-memp003.tcl~738862a9dcc682ab: Delete: storage/bdb/test/memp003.tcl BitKeeper/deleted/.del-mpoolscript.tcl~27bfb81620657f4f: Delete: storage/bdb/test/mpoolscript.tcl BitKeeper/deleted/.del-mutex001.tcl~3a27dee6ea8d5fff: Delete: storage/bdb/test/mutex001.tcl BitKeeper/deleted/.del-mutex002.tcl~cc0f545c6977810e: Delete: storage/bdb/test/mutex002.tcl BitKeeper/deleted/.del-mutex003.tcl~185695b35a871c24: Delete: storage/bdb/test/mutex003.tcl BitKeeper/deleted/.del-mutexscript.tcl~127cfd6c6ba76bc: Delete: storage/bdb/test/mutexscript.tcl BitKeeper/deleted/.del-ndbm.tcl~2335c936e466eb90: Delete: storage/bdb/test/ndbm.tcl BitKeeper/deleted/.del-parallel.tcl~6b75752d884e583f: Delete: storage/bdb/test/parallel.tcl BitKeeper/deleted/.del-recd001.tcl~955f092e1675447d: Delete: storage/bdb/test/recd001.tcl BitKeeper/deleted/.del-recd002.tcl~64e6f3ed12e7f820: Delete: storage/bdb/test/recd002.tcl BitKeeper/deleted/.del-recd003.tcl~d25a517848ce8210: Delete: storage/bdb/test/recd003.tcl BitKeeper/deleted/.del-recd004.tcl~250f0c36f985a4f: Delete: storage/bdb/test/recd004.tcl BitKeeper/deleted/.del-recd005.tcl~88455a0387834a98: Delete: storage/bdb/test/recd005.tcl BitKeeper/deleted/.del-recd006.tcl~a2328b7fc111d419: Delete: storage/bdb/test/recd006.tcl BitKeeper/deleted/.del-recd007.tcl~fe7a12aa6ba0702d: Delete: storage/bdb/test/recd007.tcl BitKeeper/deleted/.del-recd008.tcl~48d3de82ee1646b0: Delete: storage/bdb/test/recd008.tcl BitKeeper/deleted/.del-recd009.tcl~4595de558891dda1: Delete: storage/bdb/test/recd009.tcl BitKeeper/deleted/.del-recd010.tcl~8d09d87ef031e743: Delete: storage/bdb/test/recd010.tcl BitKeeper/deleted/.del-recd011.tcl~4926cb1abeacf65f: Delete: storage/bdb/test/recd011.tcl BitKeeper/deleted/.del-recd012.tcl~192b59ff81537ca: Delete: storage/bdb/test/recd012.tcl BitKeeper/deleted/.del-recd013.tcl~bf80f61e1bb44c96: Delete: storage/bdb/test/recd013.tcl BitKeeper/deleted/.del-recd014.tcl~41b5f6072460f516: Delete: storage/bdb/test/recd014.tcl BitKeeper/deleted/.del-recd015.tcl~b5c91e8098e824cf: Delete: storage/bdb/test/recd015.tcl BitKeeper/deleted/.del-recd016.tcl~e4f063003eb7829c: Delete: storage/bdb/test/recd016.tcl BitKeeper/deleted/.del-recd017.tcl~989c95e16c74a4f5: Delete: storage/bdb/test/recd017.tcl BitKeeper/deleted/.del-recd018.tcl~bd67acd9e512019b: Delete: storage/bdb/test/recd018.tcl BitKeeper/deleted/.del-recd019.tcl~1a3daef2f95097f3: Delete: storage/bdb/test/recd019.tcl BitKeeper/deleted/.del-recd020.tcl~6ef83cca50c2fbf: Delete: storage/bdb/test/recd020.tcl BitKeeper/deleted/.del-recd15scr.tcl~c8442ca1625aa1e6: Delete: storage/bdb/test/recd15scr.tcl BitKeeper/deleted/.del-recdscript.tcl~30705cb242304a85: Delete: storage/bdb/test/recdscript.tcl BitKeeper/deleted/.del-rep001.tcl~6639e63e9168016e: Delete: storage/bdb/test/rep001.tcl BitKeeper/deleted/.del-rep002.tcl~59b5d22d6bb249a6: Delete: storage/bdb/test/rep002.tcl BitKeeper/deleted/.del-rep003.tcl~d25a1ff77a550149: Delete: storage/bdb/test/rep003.tcl BitKeeper/deleted/.del-rep004.tcl~f3c21fbb341c6b94: Delete: storage/bdb/test/rep004.tcl BitKeeper/deleted/.del-rep005.tcl~1ad31ad578bfa51: Delete: storage/bdb/test/rep005.tcl BitKeeper/deleted/.del-reputils.tcl~b9bcb01ffef525fb: Delete: storage/bdb/test/reputils.tcl BitKeeper/deleted/.del-rpc001.tcl~88453ac2c774b942: Delete: storage/bdb/test/rpc001.tcl BitKeeper/deleted/.del-rpc002.tcl~3d34fc9ac248ab8b: Delete: storage/bdb/test/rpc002.tcl BitKeeper/deleted/.del-rpc003.tcl~5aba346f92bf16d: Delete: storage/bdb/test/rpc003.tcl BitKeeper/deleted/.del-rpc004.tcl~163755dc13aec750: Delete: storage/bdb/test/rpc004.tcl BitKeeper/deleted/.del-rpc005.tcl~36768d2d99f83f52: Delete: storage/bdb/test/rpc005.tcl BitKeeper/deleted/.del-rsrc001.tcl~231d9f2ee3ace69: Delete: storage/bdb/test/rsrc001.tcl BitKeeper/deleted/.del-rsrc002.tcl~3f58e3f58cb5c082: Delete: storage/bdb/test/rsrc002.tcl BitKeeper/deleted/.del-rsrc003.tcl~cedc4847fcfc57bc: Delete: storage/bdb/test/rsrc003.tcl BitKeeper/deleted/.del-rsrc004.tcl~823ee6b49ecae89b: Delete: storage/bdb/test/rsrc004.tcl BitKeeper/deleted/.del-sdb001.tcl~e1107607ca761934: Delete: storage/bdb/test/sdb001.tcl BitKeeper/deleted/.del-sdb002.tcl~964a21fbd96f8a22: Delete: storage/bdb/test/sdb002.tcl BitKeeper/deleted/.del-sdb003.tcl~5e0bc4d6f3816226: Delete: storage/bdb/test/sdb003.tcl BitKeeper/deleted/.del-sdb004.tcl~c327324b4768aed6: Delete: storage/bdb/test/sdb004.tcl BitKeeper/deleted/.del-sdb005.tcl~db6122e3c3556632: Delete: storage/bdb/test/sdb005.tcl BitKeeper/deleted/.del-sdb006.tcl~41b239316cafcac3: Delete: storage/bdb/test/sdb006.tcl BitKeeper/deleted/.del-sdb007.tcl~5481a5a3b51ceeb2: Delete: storage/bdb/test/sdb007.tcl BitKeeper/deleted/.del-sdb008.tcl~d75fbcdceb039bce: Delete: storage/bdb/test/sdb008.tcl BitKeeper/deleted/.del-sdb009.tcl~d6859031f9bc14dc: Delete: storage/bdb/test/sdb009.tcl BitKeeper/deleted/.del-sdb010.tcl~c256867b7db5c83b: Delete: storage/bdb/test/sdb010.tcl BitKeeper/deleted/.del-sdb011.tcl~26a56c6b2749a162: Delete: storage/bdb/test/sdb011.tcl BitKeeper/deleted/.del-sdb012.tcl~7f8955f99df6f9b5: Delete: storage/bdb/test/sdb012.tcl BitKeeper/deleted/.del-sdbscript.tcl~cba1b6edd36654aa: Delete: storage/bdb/test/sdbscript.tcl BitKeeper/deleted/.del-sdbtest001.tcl~f84b8a1c57eca170: Delete: storage/bdb/test/sdbtest001.tcl BitKeeper/deleted/.del-sdbtest002.tcl~a924afa17f40eb2e: Delete: storage/bdb/test/sdbtest002.tcl BitKeeper/deleted/.del-sdbutils.tcl~2805b251c9b76de3: Delete: storage/bdb/test/sdbutils.tcl BitKeeper/deleted/.del-sec001.tcl~c82cbc2e241aa3f1: Delete: storage/bdb/test/sec001.tcl BitKeeper/deleted/.del-sec002.tcl~9679d7e13b4c6ede: Delete: storage/bdb/test/sec002.tcl BitKeeper/deleted/.del-shelltest.tcl~4b16ad64f199e26c: Delete: storage/bdb/test/shelltest.tcl BitKeeper/deleted/.del-si001.tcl~75838f939815111a: Delete: storage/bdb/test/si001.tcl BitKeeper/deleted/.del-si002.tcl~e8510b09b71e3f5: Delete: storage/bdb/test/si002.tcl BitKeeper/deleted/.del-si003.tcl~aa00a31d48f38b81: Delete: storage/bdb/test/si003.tcl BitKeeper/deleted/.del-si004.tcl~78eb6f226e9f34f4: Delete: storage/bdb/test/si004.tcl BitKeeper/deleted/.del-si005.tcl~cab54cae8e9931d: Delete: storage/bdb/test/si005.tcl BitKeeper/deleted/.del-si006.tcl~eff36e7e40ec3b4b: Delete: storage/bdb/test/si006.tcl BitKeeper/deleted/.del-sindex.tcl~a1d08b36703dea6: Delete: storage/bdb/test/sindex.tcl BitKeeper/deleted/.del-sysscript.tcl~1e15f1c5ff8c1f22: Delete: storage/bdb/test/sysscript.tcl BitKeeper/deleted/.del-test.tcl~992e553a9b90e6bf: Delete: storage/bdb/test/test.tcl BitKeeper/deleted/.del-test001.tcl~7c497849d5cc47e: Delete: storage/bdb/test/test001.tcl BitKeeper/deleted/.del-test002.tcl~f62bf602371682f5: Delete: storage/bdb/test/test002.tcl BitKeeper/deleted/.del-test003.tcl~2c056a0eb88120c7: Delete: storage/bdb/test/test003.tcl BitKeeper/deleted/.del-test004.tcl~e74e086eed01b24f: Delete: storage/bdb/test/test004.tcl BitKeeper/deleted/.del-test005.tcl~b663af0e3f63cc12: Delete: storage/bdb/test/test005.tcl BitKeeper/deleted/.del-test006.tcl~7ef19ccd6c6981f2: Delete: storage/bdb/test/test006.tcl BitKeeper/deleted/.del-test007.tcl~708cd48497e87fad: Delete: storage/bdb/test/test007.tcl BitKeeper/deleted/.del-test008.tcl~b8aed254d8bffc6e: Delete: storage/bdb/test/test008.tcl BitKeeper/deleted/.del-test009.tcl~8258b689eb65d10a: Delete: storage/bdb/test/test009.tcl BitKeeper/deleted/.del-test010.tcl~a8916240242cdac0: Delete: storage/bdb/test/test010.tcl BitKeeper/deleted/.del-test011.tcl~49d813ea130c63c: Delete: storage/bdb/test/test011.tcl BitKeeper/deleted/.del-test012.tcl~3f9d19119ee4c1a6: Delete: storage/bdb/test/test012.tcl BitKeeper/deleted/.del-test013.tcl~fc95c9707c0c9408: Delete: storage/bdb/test/test013.tcl BitKeeper/deleted/.del-test014.tcl~1773e8eceb4d9e05: Delete: storage/bdb/test/test014.tcl BitKeeper/deleted/.del-test015.tcl~444573fe985a9dcf: Delete: storage/bdb/test/test015.tcl BitKeeper/deleted/.del-test016.tcl~36ba7ce481334a6: Delete: storage/bdb/test/test016.tcl BitKeeper/deleted/.del-test017.tcl~6e285070a55a47e1: Delete: storage/bdb/test/test017.tcl BitKeeper/deleted/.del-test018.tcl~b9dc3eb96babaa6b: Delete: storage/bdb/test/test018.tcl BitKeeper/deleted/.del-test019.tcl~589eb8c837a35f69: Delete: storage/bdb/test/test019.tcl BitKeeper/deleted/.del-test020.tcl~492031a3803d0ec9: Delete: storage/bdb/test/test020.tcl BitKeeper/deleted/.del-test021.tcl~a806bd0727c6d6a4: Delete: storage/bdb/test/test021.tcl BitKeeper/deleted/.del-test022.tcl~6010069b5dc180c0: Delete: storage/bdb/test/test022.tcl BitKeeper/deleted/.del-test023.tcl~abe3e5ec804485c0: Delete: storage/bdb/test/test023.tcl BitKeeper/deleted/.del-test024.tcl~76c31e5db529695c: Delete: storage/bdb/test/test024.tcl BitKeeper/deleted/.del-test025.tcl~3514c2e3ab50d597: Delete: storage/bdb/test/test025.tcl BitKeeper/deleted/.del-test026.tcl~e078236ba1044355: Delete: storage/bdb/test/test026.tcl BitKeeper/deleted/.del-test027.tcl~ffa13609f8f0ffdb: Delete: storage/bdb/test/test027.tcl BitKeeper/deleted/.del-test028.tcl~b235714f33c6ccb: Delete: storage/bdb/test/test028.tcl BitKeeper/deleted/.del-test029.tcl~998729678d5b6299: Delete: storage/bdb/test/test029.tcl BitKeeper/deleted/.del-test030.tcl~8fbed7506ae5f5ae: Delete: storage/bdb/test/test030.tcl BitKeeper/deleted/.del-test031.tcl~4670fab63b50d57f: Delete: storage/bdb/test/test031.tcl BitKeeper/deleted/.del-test032.tcl~3d301e8996def9da: Delete: storage/bdb/test/test032.tcl BitKeeper/deleted/.del-test033.tcl~8fef4678e3dfdc1a: Delete: storage/bdb/test/test033.tcl BitKeeper/deleted/.del-test034.tcl~6f4fc46225bdddb6: Delete: storage/bdb/test/test034.tcl BitKeeper/deleted/.del-test035.tcl~ee79f3198de4a6c3: Delete: storage/bdb/test/test035.tcl BitKeeper/deleted/.del-test036.tcl~70c97aa8199ce2b2: Delete: storage/bdb/test/test036.tcl BitKeeper/deleted/.del-test037.tcl~84a15153bf328893: Delete: storage/bdb/test/test037.tcl BitKeeper/deleted/.del-test038.tcl~4b86951797326fb6: Delete: storage/bdb/test/test038.tcl BitKeeper/deleted/.del-test039.tcl~bbe64cdcbf284055: Delete: storage/bdb/test/test039.tcl BitKeeper/deleted/.del-test040.tcl~186087bc93037dc8: Delete: storage/bdb/test/test040.tcl BitKeeper/deleted/.del-test041.tcl~58dd11454418f1df: Delete: storage/bdb/test/test041.tcl BitKeeper/deleted/.del-test042.tcl~e3abc60a16e18ea7: Delete: storage/bdb/test/test042.tcl BitKeeper/deleted/.del-test043.tcl~2d276374e36cc44e: Delete: storage/bdb/test/test043.tcl BitKeeper/deleted/.del-test044.tcl~edf4ad84a76362fa: Delete: storage/bdb/test/test044.tcl BitKeeper/deleted/.del-test045.tcl~e03bd4ebab641805: Delete: storage/bdb/test/test045.tcl BitKeeper/deleted/.del-test046.tcl~b37133329df2b0d6: Delete: storage/bdb/test/test046.tcl BitKeeper/deleted/.del-test047.tcl~2d3f2b721d637b6a: Delete: storage/bdb/test/test047.tcl BitKeeper/deleted/.del-test048.tcl~1ac7bb441bd5bdb6: Delete: storage/bdb/test/test048.tcl BitKeeper/deleted/.del-test049.tcl~e158663325c08d2c: Delete: storage/bdb/test/test049.tcl BitKeeper/deleted/.del-test050.tcl~f3703b59466a8502: Delete: storage/bdb/test/test050.tcl BitKeeper/deleted/.del-test051.tcl~7799ccc410e40530: Delete: storage/bdb/test/test051.tcl BitKeeper/deleted/.del-test052.tcl~238c71b3c044d73d: Delete: storage/bdb/test/test052.tcl BitKeeper/deleted/.del-test053.tcl~c28e0d69cb1bb6bf: Delete: storage/bdb/test/test053.tcl BitKeeper/deleted/.del-test054.tcl~f182b2517dfecc42: Delete: storage/bdb/test/test054.tcl BitKeeper/deleted/.del-test055.tcl~e40f096f58000daa: Delete: storage/bdb/test/test055.tcl BitKeeper/deleted/.del-test056.tcl~61f364b68fd25228: Delete: storage/bdb/test/test056.tcl BitKeeper/deleted/.del-test057.tcl~abd7b4edceb7f3d8: Delete: storage/bdb/test/test057.tcl BitKeeper/deleted/.del-test058.tcl~8a02c0ea44840334: Delete: storage/bdb/test/test058.tcl BitKeeper/deleted/.del-test059.tcl~a3b61d65c0684efd: Delete: storage/bdb/test/test059.tcl BitKeeper/deleted/.del-test060.tcl~2ba894fe978960c2: Delete: storage/bdb/test/test060.tcl BitKeeper/deleted/.del-test061.tcl~eaf129c2ccbc3f5c: Delete: storage/bdb/test/test061.tcl BitKeeper/deleted/.del-test062.tcl~53f36156b352c123: Delete: storage/bdb/test/test062.tcl BitKeeper/deleted/.del-test063.tcl~b0413d6a47dd7713: Delete: storage/bdb/test/test063.tcl BitKeeper/deleted/.del-test064.tcl~8c8d79643c127a4: Delete: storage/bdb/test/test064.tcl BitKeeper/deleted/.del-test065.tcl~44d82ad263c529ea: Delete: storage/bdb/test/test065.tcl BitKeeper/deleted/.del-test066.tcl~ad0ca187291e5923: Delete: storage/bdb/test/test066.tcl BitKeeper/deleted/.del-test067.tcl~4da80670cae6f271: Delete: storage/bdb/test/test067.tcl BitKeeper/deleted/.del-test068.tcl~a56db5bdaa6097fd: Delete: storage/bdb/test/test068.tcl BitKeeper/deleted/.del-test069.tcl~a39feaa4f4b037c9: Delete: storage/bdb/test/test069.tcl BitKeeper/deleted/.del-test070.tcl~35559617bc69dbdb: Delete: storage/bdb/test/test070.tcl BitKeeper/deleted/.del-test071.tcl~6af93fa1c1ac179c: Delete: storage/bdb/test/test071.tcl BitKeeper/deleted/.del-test072.tcl~e1630e29183f75b5: Delete: storage/bdb/test/test072.tcl BitKeeper/deleted/.del-test073.tcl~dbb57c71d31a93e8: Delete: storage/bdb/test/test073.tcl BitKeeper/deleted/.del-test074.tcl~9b36a93ed679ec3b: Delete: storage/bdb/test/test074.tcl BitKeeper/deleted/.del-test075.tcl~55f0e90e9948697: Delete: storage/bdb/test/test075.tcl BitKeeper/deleted/.del-test076.tcl~5ec9f2c249cd7d6c: Delete: storage/bdb/test/test076.tcl BitKeeper/deleted/.del-test077.tcl~920463fe1710f362: Delete: storage/bdb/test/test077.tcl BitKeeper/deleted/.del-test078.tcl~e968797716541059: Delete: storage/bdb/test/test078.tcl BitKeeper/deleted/.del-test079.tcl~dab9573083074ebd: Delete: storage/bdb/test/test079.tcl BitKeeper/deleted/.del-test080.tcl~fdeda1207812183a: Delete: storage/bdb/test/test080.tcl BitKeeper/deleted/.del-test081.tcl~965a56e3a45b064e: Delete: storage/bdb/test/test081.tcl BitKeeper/deleted/.del-test082.tcl~9e31d460450e1eca: Delete: storage/bdb/test/test082.tcl BitKeeper/deleted/.del-test083.tcl~14a579863e09cadc: Delete: storage/bdb/test/test083.tcl BitKeeper/deleted/.del-test084.tcl~b4ef1538a604bfb2: Delete: storage/bdb/test/test084.tcl BitKeeper/deleted/.del-test085.tcl~49a7f28eb2f8d1c1: Delete: storage/bdb/test/test085.tcl BitKeeper/deleted/.del-test086.tcl~6a011092ed6492ab: Delete: storage/bdb/test/test086.tcl BitKeeper/deleted/.del-test087.tcl~67ffc668cffee04c: Delete: storage/bdb/test/test087.tcl BitKeeper/deleted/.del-test088.tcl~189537e912432d04: Delete: storage/bdb/test/test088.tcl BitKeeper/deleted/.del-test089.tcl~4d777a6fab77ee5f: Delete: storage/bdb/test/test089.tcl BitKeeper/deleted/.del-test090.tcl~df90cf443e7fd392: Delete: storage/bdb/test/test090.tcl BitKeeper/deleted/.del-test091.tcl~7b3a2c8871cf0b93: Delete: storage/bdb/test/test091.tcl BitKeeper/deleted/.del-test092.tcl~1ca87063b7aae056: Delete: storage/bdb/test/test092.tcl BitKeeper/deleted/.del-test093.tcl~58abaa0e370f696d: Delete: storage/bdb/test/test093.tcl BitKeeper/deleted/.del-test094.tcl~ac0a4b615a6be00d: Delete: storage/bdb/test/test094.tcl BitKeeper/deleted/.del-test095.tcl~65633e864e895773: Delete: storage/bdb/test/test095.tcl BitKeeper/deleted/.del-test096.tcl~a4259e5794261692: Delete: storage/bdb/test/test096.tcl BitKeeper/deleted/.del-test097.tcl~59915885eff391d9: Delete: storage/bdb/test/test097.tcl BitKeeper/deleted/.del-test098.tcl~421438a23fdc8da1: Delete: storage/bdb/test/test098.tcl BitKeeper/deleted/.del-test099.tcl~ecb60f71caa0104e: Delete: storage/bdb/test/test099.tcl BitKeeper/deleted/.del-test100.tcl~cbf3c2ab49a445: Delete: storage/bdb/test/test100.tcl BitKeeper/deleted/.del-test101.tcl~2a7ed4a3bb8a48a3: Delete: storage/bdb/test/test101.tcl BitKeeper/deleted/.del-testparams.tcl~1b39050ecb624442: Delete: storage/bdb/test/testparams.tcl BitKeeper/deleted/.del-testutils.tcl~9e77f5853c538eaf: Delete: storage/bdb/test/testutils.tcl BitKeeper/deleted/.del-txn001.tcl~affc012a3da3cc8a: Delete: storage/bdb/test/txn001.tcl BitKeeper/deleted/.del-txn002.tcl~42f2b0fa86e4a807: Delete: storage/bdb/test/txn002.tcl BitKeeper/deleted/.del-txn003.tcl~41bd535632d28944: Delete: storage/bdb/test/txn003.tcl BitKeeper/deleted/.del-txn004.tcl~36e409a3c47a6380: Delete: storage/bdb/test/txn004.tcl BitKeeper/deleted/.del-txn005.tcl~c7c258c01a825f9f: Delete: storage/bdb/test/txn005.tcl BitKeeper/deleted/.del-txn006.tcl~33fb6688c9cb2394: Delete: storage/bdb/test/txn006.tcl BitKeeper/deleted/.del-txn007.tcl~1e55f1c1b493abb3: Delete: storage/bdb/test/txn007.tcl BitKeeper/deleted/.del-txn008.tcl~8d3b828ad12cda69: Delete: storage/bdb/test/txn008.tcl BitKeeper/deleted/.del-txn009.tcl~c57ad8934bc8cc8b: Delete: storage/bdb/test/txn009.tcl BitKeeper/deleted/.del-txnscript.tcl~fea6f1c6aa45aa4: Delete: storage/bdb/test/txnscript.tcl BitKeeper/deleted/.del-update.tcl~eb74470da58e545a: Delete: storage/bdb/test/update.tcl BitKeeper/deleted/.del-upgrade.tcl~9aeaf897775dec6e: Delete: storage/bdb/test/upgrade.tcl BitKeeper/deleted/.del-wordlist~153352d7533f7f60: Delete: storage/bdb/test/wordlist BitKeeper/deleted/.del-wrap.tcl~89400388e5b234c2: Delete: storage/bdb/test/wrap.tcl BitKeeper/deleted/.del-chk.code~4c8908261a6053fd: Delete: storage/bdb/test/scr001/chk.code BitKeeper/deleted/.del-chk.def~c9d08d27a526d44b: Delete: storage/bdb/test/scr002/chk.def BitKeeper/deleted/.del-chk.define~2a0fb00fc4ed968e: Delete: storage/bdb/test/scr003/chk.define BitKeeper/deleted/.del-chk.javafiles~9e3dd374dfb0aa3a: Delete: storage/bdb/test/scr004/chk.javafiles BitKeeper/deleted/.del-chk.nl~70b4e5b798c753ed: Delete: storage/bdb/test/scr005/chk.nl BitKeeper/deleted/.del-chk.offt~8a3c305110b12735: Delete: storage/bdb/test/scr006/chk.offt BitKeeper/deleted/.del-chk.proto~d1923cdd90414e56: Delete: storage/bdb/test/scr007/chk.proto BitKeeper/deleted/.del-chk.pubdef~bd699d2321166d30: Delete: storage/bdb/test/scr008/chk.pubdef BitKeeper/deleted/.del-chk.srcfiles~d4d837e36a9ba9f1: Delete: storage/bdb/test/scr009/chk.srcfiles BitKeeper/deleted/.del-chk.str~cb7fd8a4f2a1fad1: Delete: storage/bdb/test/scr010/chk.str BitKeeper/deleted/.del-spell.ok~5d9d5e442e5ebf62: Delete: storage/bdb/test/scr010/spell.ok BitKeeper/deleted/.del-chk.tags~8ee11b591e1a18fe: Delete: storage/bdb/test/scr011/chk.tags BitKeeper/deleted/.del-chk.stats~38fd26c0ece7131d: Delete: storage/bdb/test/scr013/chk.stats BitKeeper/deleted/.del-chk.vx_code~ec114356750bc985: Delete: storage/bdb/test/scr012/chk.vx_code BitKeeper/deleted/.del-chk.err~ca4595c9dbc93f1b: Delete: storage/bdb/test/scr014/chk.err BitKeeper/deleted/.del-README~29417fd1ec6b2679: Delete: storage/bdb/test/scr015/README BitKeeper/deleted/.del-TestConstruct01.cpp~425c78577f8f28c8: Delete: storage/bdb/test/scr015/TestConstruct01.cpp BitKeeper/deleted/.del-TestConstruct01.testerr~6e4e36b2dc63c283: Delete: storage/bdb/test/scr015/TestConstruct01.testerr BitKeeper/deleted/.del-TestConstruct01.testout~5e8776554283a4c4: Delete: storage/bdb/test/scr015/TestConstruct01.testout BitKeeper/deleted/.del-TestExceptInclude.cpp~67d314a055e90bf3: Delete: storage/bdb/test/scr015/TestExceptInclude.cpp BitKeeper/deleted/.del-TestGetSetMethods.cpp~ce02cae6e67225d: Delete: storage/bdb/test/scr015/TestGetSetMethods.cpp BitKeeper/deleted/.del-TestKeyRange.cpp~9b80f48a5174a5c9: Delete: storage/bdb/test/scr015/TestKeyRange.cpp BitKeeper/deleted/.del-TestKeyRange.testin~67ca6fe17815d21b: Delete: storage/bdb/test/scr015/TestKeyRange.testin BitKeeper/deleted/.del-TestKeyRange.testout~5bcbbf21d18eff: Delete: storage/bdb/test/scr015/TestKeyRange.testout BitKeeper/deleted/.del-TestLogc.cpp~bad0027b7264e53e: Delete: storage/bdb/test/scr015/TestLogc.cpp BitKeeper/deleted/.del-TestLogc.testout~a4609b75a4779f43: Delete: storage/bdb/test/scr015/TestLogc.testout BitKeeper/deleted/.del-TestSimpleAccess.cpp~bd7c1d1d12b641d: Delete: storage/bdb/test/scr015/TestSimpleAccess.cpp BitKeeper/deleted/.del-TestSimpleAccess.testout~5efeed9c81b9bc27: Delete: storage/bdb/test/scr015/TestSimpleAccess.testout BitKeeper/deleted/.del-TestTruncate.cpp~25ed0d942f0a5369: Delete: storage/bdb/test/scr015/TestTruncate.cpp BitKeeper/deleted/.del-TestTruncate.testout~ccbc326c37208fa9: Delete: storage/bdb/test/scr015/TestTruncate.testout BitKeeper/deleted/.del-chk.cxxtests~c40a22d26ccf756a: Delete: storage/bdb/test/scr015/chk.cxxtests BitKeeper/deleted/.del-ignore~a29a88595efdfb44: Delete: storage/bdb/test/scr015/ignore BitKeeper/deleted/.del-testall~a38a540fd662e4b: Delete: storage/bdb/test/scr015/testall BitKeeper/deleted/.del-testone~2611e5ac141df9e: Delete: storage/bdb/test/scr015/testone BitKeeper/deleted/.del-CallbackTest.java~cbfa27249d061cfb: Delete: storage/bdb/test/scr016/CallbackTest.java BitKeeper/deleted/.del-CallbackTest.testout~71e902a33379ba52: Delete: storage/bdb/test/scr016/CallbackTest.testout BitKeeper/deleted/.del-README~c0e58cbcc5c57ddc: Delete: storage/bdb/test/scr016/README BitKeeper/deleted/.del-TestAppendRecno.java~8ad6fa89c4cff7cd: Delete: storage/bdb/test/scr016/TestAppendRecno.java BitKeeper/deleted/.del-TestAppendRecno.testout~43c535efe914c498: Delete: storage/bdb/test/scr016/TestAppendRecno.testout BitKeeper/deleted/.del-TestAssociate.java~cd029537c3af5252: Delete: storage/bdb/test/scr016/TestAssociate.java BitKeeper/deleted/.del-TestAssociate.testout~261a98eaac389069: Delete: storage/bdb/test/scr016/TestAssociate.testout BitKeeper/deleted/.del-TestClosedDb.java~6f99db2fb2fa2d15: Delete: storage/bdb/test/scr016/TestClosedDb.java BitKeeper/deleted/.del-TestClosedDb.testout~46a360b011d96925: Delete: storage/bdb/test/scr016/TestClosedDb.testout BitKeeper/deleted/.del-TestConstruct01.java~8b68df1abcf4843: Delete: storage/bdb/test/scr016/TestConstruct01.java BitKeeper/deleted/.del-TestConstruct01.testerr~8be3723f205f31dd: Delete: storage/bdb/test/scr016/TestConstruct01.testerr BitKeeper/deleted/.del-TestConstruct01.testout~59baf46019af0f93: Delete: storage/bdb/test/scr016/TestConstruct01.testout BitKeeper/deleted/.del-TestConstruct02.java~7629249c946fe58f: Delete: storage/bdb/test/scr016/TestConstruct02.java BitKeeper/deleted/.del-TestConstruct02.testout~129a58ccfb4f9868: Delete: storage/bdb/test/scr016/TestConstruct02.testout BitKeeper/deleted/.del-TestDbtFlags.java~6da39a3c264c5e1: Delete: storage/bdb/test/scr016/TestDbtFlags.java BitKeeper/deleted/.del-TestDbtFlags.testerr~bf1b8223db949631: Delete: storage/bdb/test/scr016/TestDbtFlags.testerr BitKeeper/deleted/.del-TestDbtFlags.testout~a104075868b55448: Delete: storage/bdb/test/scr016/TestDbtFlags.testout BitKeeper/deleted/.del-TestGetSetMethods.java~ce458701b96fbae5: Delete: storage/bdb/test/scr016/TestGetSetMethods.java BitKeeper/deleted/.del-TestKeyRange.java~bbedf620a38ba528: Delete: storage/bdb/test/scr016/TestKeyRange.java BitKeeper/deleted/.del-TestKeyRange.testout~bea8cd86cb028218: Delete: storage/bdb/test/scr016/TestKeyRange.testout BitKeeper/deleted/.del-TestLockVec.java~f2a881f24fcd0a3d: Delete: storage/bdb/test/scr016/TestLockVec.java BitKeeper/deleted/.del-TestLockVec.testout~100308b4d8ffe94d: Delete: storage/bdb/test/scr016/TestLockVec.testout BitKeeper/deleted/.del-TestLogc.java~73a824d2d67a26d: Delete: storage/bdb/test/scr016/TestLogc.java BitKeeper/deleted/.del-TestLogc.testout~b3a920723db1fdaf: Delete: storage/bdb/test/scr016/TestLogc.testout BitKeeper/deleted/.del-TestOpenEmpty.java~ca2c539e136b83f4: Delete: storage/bdb/test/scr016/TestOpenEmpty.java BitKeeper/deleted/.del-TestOpenEmpty.testerr~94241960bab03730: Delete: storage/bdb/test/scr016/TestOpenEmpty.testerr BitKeeper/deleted/.del-TestReplication.java~2007f084cfd99774: Delete: storage/bdb/test/scr016/TestReplication.java BitKeeper/deleted/.del-TestRpcServer.java~136338ae7114729e: Delete: storage/bdb/test/scr016/TestRpcServer.java BitKeeper/deleted/.del-TestSameDbt.java~6b58f6d4667df271: Delete: storage/bdb/test/scr016/TestSameDbt.java BitKeeper/deleted/.del-TestSameDbt.testout~32315254d8be8d41: Delete: storage/bdb/test/scr016/TestSameDbt.testout BitKeeper/deleted/.del-TestSimpleAccess.java~9d44ee26d00dabcf: Delete: storage/bdb/test/scr016/TestSimpleAccess.java BitKeeper/deleted/.del-TestSimpleAccess.testout~c93b176ca5d121fa: Delete: storage/bdb/test/scr016/TestSimpleAccess.testout BitKeeper/deleted/.del-TestStat.java~b3254049c84f2e89: Delete: storage/bdb/test/scr016/TestStat.java BitKeeper/deleted/.del-TestStat.testout~59276cedffc035: Delete: storage/bdb/test/scr016/TestStat.testout BitKeeper/deleted/.del-TestTruncate.java~5ffd51efb9a0f54c: Delete: storage/bdb/test/scr016/TestTruncate.java BitKeeper/deleted/.del-TestTruncate.testout~1078a6e877e3e063: Delete: storage/bdb/test/scr016/TestTruncate.testout BitKeeper/deleted/.del-TestUtil.java~52eef127e5085616: Delete: storage/bdb/test/scr016/TestUtil.java BitKeeper/deleted/.del-TestXAServlet.java~aa3f0d373e0305dc: Delete: storage/bdb/test/scr016/TestXAServlet.java BitKeeper/deleted/.del-chk.javatests~76196d06146273e8: Delete: storage/bdb/test/scr016/chk.javatests BitKeeper/deleted/.del-ignore~2d9ec9d6d8c49ffe: Delete: storage/bdb/test/scr016/ignore BitKeeper/deleted/.del-testall~eba2218c5e16bb31: Delete: storage/bdb/test/scr016/testall BitKeeper/deleted/.del-testone~79a7cbbc69ecdfe1: Delete: storage/bdb/test/scr016/testone BitKeeper/deleted/.del-O.BH~84b85479f477037b: Delete: storage/bdb/test/scr017/O.BH BitKeeper/deleted/.del-O.R~efc67c567acd7ee8: Delete: storage/bdb/test/scr017/O.R BitKeeper/deleted/.del-chk.db185~13e5ae02d2f2952f: Delete: storage/bdb/test/scr017/chk.db185 BitKeeper/deleted/.del-t.c~b59e28ce10263d8b: Delete: storage/bdb/test/scr017/t.c BitKeeper/deleted/.del-chk.comma~f4c73d979215e8d9: Delete: storage/bdb/test/scr018/chk.comma BitKeeper/deleted/.del-t.c~4c80ca5b22f28809: Delete: storage/bdb/test/scr018/t.c BitKeeper/deleted/.del-chk.include~6ccbc39213db1cfc: Delete: storage/bdb/test/scr019/chk.include BitKeeper/deleted/.del-chk.flags~d3427093f84cf9cb: Delete: storage/bdb/test/scr021/chk.flags BitKeeper/deleted/.del-chk.inc~4411d703b39a2d46: Delete: storage/bdb/test/scr020/chk.inc BitKeeper/deleted/.del-chk.rr~f562abf3c6627d13: Delete: storage/bdb/test/scr022/chk.rr BitKeeper/etc/ignore: Update ignore list for bdb storage/bdb/LICENSE: Import new version storage/bdb/btree/bt_compare.c: Import new version storage/bdb/btree/bt_conv.c: Import new version storage/bdb/btree/bt_curadj.c: Import new version storage/bdb/btree/bt_cursor.c: Import new version storage/bdb/btree/bt_delete.c: Import new version storage/bdb/btree/bt_method.c: Import new version storage/bdb/btree/bt_open.c: Import new version storage/bdb/btree/bt_put.c: Import new version storage/bdb/btree/bt_rec.c: Import new version storage/bdb/btree/bt_reclaim.c: Import new version storage/bdb/btree/bt_recno.c: Import new version storage/bdb/btree/bt_rsearch.c: Import new version storage/bdb/btree/bt_search.c: Import new version storage/bdb/btree/bt_split.c: Import new version storage/bdb/btree/bt_stat.c: Import new version storage/bdb/btree/bt_upgrade.c: Import new version storage/bdb/btree/bt_verify.c: Import new version storage/bdb/btree/btree.src: Import new version storage/bdb/build_win32/Berkeley_DB.dsw: Import new version storage/bdb/build_win32/app_dsp.src: Import new version storage/bdb/build_win32/dbkill.cpp: Import new version storage/bdb/build_win32/dynamic_dsp.src: Import new version storage/bdb/build_win32/libdb_tcl.def: Import new version storage/bdb/build_win32/libdbrc.src: Import new version storage/bdb/build_win32/static_dsp.src: Import new version storage/bdb/clib/getcwd.c: Import new version storage/bdb/clib/getopt.c: Import new version storage/bdb/clib/memcmp.c: Import new version storage/bdb/clib/memmove.c: Import new version storage/bdb/clib/raise.c: Import new version storage/bdb/clib/snprintf.c: Import new version storage/bdb/clib/strcasecmp.c: Import new version storage/bdb/clib/strdup.c: Import new version storage/bdb/clib/strerror.c: Import new version storage/bdb/clib/strtol.c: Import new version storage/bdb/clib/strtoul.c: Import new version storage/bdb/common/crypto_stub.c: Import new version storage/bdb/common/db_byteorder.c: Import new version storage/bdb/common/db_err.c: Import new version storage/bdb/common/db_getlong.c: Import new version storage/bdb/common/db_idspace.c: Import new version storage/bdb/common/db_log2.c: Import new version storage/bdb/common/util_arg.c: Import new version storage/bdb/common/util_cache.c: Import new version storage/bdb/common/util_log.c: Import new version storage/bdb/common/util_sig.c: Import new version storage/bdb/crypto/aes_method.c: Import new version storage/bdb/crypto/crypto.c: Import new version storage/bdb/crypto/crypto.html: Import new version storage/bdb/crypto/mersenne/mt19937db.c: Import new version storage/bdb/crypto/rijndael/rijndael-alg-fst.h: Import new version storage/bdb/crypto/rijndael/rijndael-api-fst.h: Import new version storage/bdb/cxx/cxx_db.cpp: Import new version storage/bdb/cxx/cxx_dbc.cpp: Import new version storage/bdb/cxx/cxx_dbt.cpp: Import new version storage/bdb/cxx/cxx_env.cpp: Import new version storage/bdb/cxx/cxx_except.cpp: Import new version storage/bdb/cxx/cxx_lock.cpp: Import new version storage/bdb/cxx/cxx_logc.cpp: Import new version storage/bdb/cxx/cxx_mpool.cpp: Import new version storage/bdb/cxx/cxx_multi.cpp: Import new version storage/bdb/cxx/cxx_seq.cpp: Import new version storage/bdb/cxx/cxx_txn.cpp: Import new version storage/bdb/db/crdel.src: Import new version storage/bdb/db/crdel_rec.c: Import new version storage/bdb/db/db.c: Import new version storage/bdb/db/db.src: Import new version storage/bdb/db/db_am.c: Import new version storage/bdb/db/db_cam.c: Import new version storage/bdb/db/db_conv.c: Import new version storage/bdb/db/db_dispatch.c: Import new version storage/bdb/db/db_dup.c: Import new version storage/bdb/db/db_iface.c: Import new version storage/bdb/db/db_join.c: Import new version storage/bdb/db/db_meta.c: Import new version storage/bdb/db/db_method.c: Import new version storage/bdb/db/db_open.c: Import new version storage/bdb/db/db_overflow.c: Import new version storage/bdb/db/db_ovfl_vrfy.c: Import new version storage/bdb/db/db_pr.c: Import new version storage/bdb/db/db_rec.c: Import new version storage/bdb/db/db_reclaim.c: Import new version storage/bdb/db/db_remove.c: Import new version storage/bdb/db/db_rename.c: Import new version storage/bdb/db/db_ret.c: Import new version storage/bdb/db/db_setid.c: Import new version storage/bdb/db/db_setlsn.c: Import new version storage/bdb/db/db_stati.c: Import new version storage/bdb/db/db_truncate.c: Import new version storage/bdb/db/db_upg.c: Import new version storage/bdb/db/db_upg_opd.c: Import new version storage/bdb/db/db_vrfy.c: Import new version storage/bdb/db/db_vrfy_stub.c: Import new version storage/bdb/db/db_vrfyutil.c: Import new version storage/bdb/db185/db185.c: Import new version storage/bdb/db185/db185_int.in: Import new version storage/bdb/db_archive/db_archive.c: Import new version storage/bdb/db_checkpoint/db_checkpoint.c: Import new version storage/bdb/db_deadlock/db_deadlock.c: Import new version storage/bdb/db_dump/db_dump.c: Import new version storage/bdb/db_dump185/db_dump185.c: Import new version storage/bdb/db_load/db_load.c: Import new version storage/bdb/db_printlog/README: Import new version storage/bdb/db_printlog/commit.awk: Import new version storage/bdb/db_printlog/count.awk: Import new version storage/bdb/db_printlog/db_printlog.c: Import new version storage/bdb/db_printlog/dbname.awk: Import new version storage/bdb/db_printlog/fileid.awk: Import new version storage/bdb/db_printlog/logstat.awk: Import new version storage/bdb/db_printlog/pgno.awk: Import new version storage/bdb/db_printlog/range.awk: Import new version storage/bdb/db_printlog/rectype.awk: Import new version storage/bdb/db_printlog/status.awk: Import new version storage/bdb/db_printlog/txn.awk: Import new version storage/bdb/db_recover/db_recover.c: Import new version storage/bdb/db_stat/db_stat.c: Import new version storage/bdb/db_stat/dd.sh: Import new version storage/bdb/db_upgrade/db_upgrade.c: Import new version storage/bdb/db_verify/db_verify.c: Import new version storage/bdb/dbinc/btree.h: Import new version storage/bdb/dbinc/crypto.h: Import new version storage/bdb/dbinc/cxx_int.h: Import new version storage/bdb/dbinc/db.in: Import new version storage/bdb/dbinc/db_185.in: Import new version storage/bdb/dbinc/db_am.h: Import new version storage/bdb/dbinc/db_cxx.in: Import new version storage/bdb/dbinc/db_dispatch.h: Import new version storage/bdb/dbinc/db_int.in: Import new version storage/bdb/dbinc/db_join.h: Import new version storage/bdb/dbinc/db_page.h: Import new version storage/bdb/dbinc/db_server_int.h: Import new version storage/bdb/dbinc/db_shash.h: Import new version storage/bdb/dbinc/db_swap.h: Import new version storage/bdb/dbinc/db_upgrade.h: Import new version storage/bdb/dbinc/db_verify.h: Import new version storage/bdb/dbinc/debug.h: Import new version storage/bdb/dbinc/fop.h: Import new version storage/bdb/dbinc/globals.h: Import new version storage/bdb/dbinc/hash.h: Import new version storage/bdb/dbinc/hmac.h: Import new version storage/bdb/dbinc/lock.h: Import new version storage/bdb/dbinc/log.h: Import new version storage/bdb/dbinc/mp.h: Import new version storage/bdb/dbinc/mutex.h: Import new version storage/bdb/dbinc/os.h: Import new version storage/bdb/dbinc/qam.h: Import new version storage/bdb/dbinc/queue.h: Import new version storage/bdb/dbinc/region.h: Import new version storage/bdb/dbinc/rep.h: Import new version storage/bdb/dbinc/shqueue.h: Import new version storage/bdb/dbinc/tcl_db.h: Import new version storage/bdb/dbinc/txn.h: Import new version storage/bdb/dbinc/xa.h: Import new version storage/bdb/dbm/dbm.c: Import new version storage/bdb/dbreg/dbreg.c: Import new version storage/bdb/dbreg/dbreg.src: Import new version storage/bdb/dbreg/dbreg_rec.c: Import new version storage/bdb/dbreg/dbreg_stat.c: Import new version storage/bdb/dbreg/dbreg_util.c: Import new version storage/bdb/dist/Makefile.in: Import new version storage/bdb/dist/RELEASE: Import new version storage/bdb/dist/aclocal/libtool.ac: Import new version storage/bdb/dist/aclocal/mutex.ac: Import new version storage/bdb/dist/aclocal/options.ac: Import new version storage/bdb/dist/aclocal/programs.ac: Import new version storage/bdb/dist/aclocal/rpc.ac: Import new version storage/bdb/dist/aclocal/sequence.ac: Import new version storage/bdb/dist/aclocal/sosuffix.ac: Import new version storage/bdb/dist/aclocal/tcl.ac: Import new version storage/bdb/dist/aclocal/types.ac: Import new version storage/bdb/dist/aclocal_java/ac_check_class.ac: Import new version storage/bdb/dist/aclocal_java/ac_check_classpath.ac: Import new version storage/bdb/dist/aclocal_java/ac_check_junit.ac: Import new version storage/bdb/dist/aclocal_java/ac_check_rqrd_class.ac: Import new version storage/bdb/dist/aclocal_java/ac_java_options.ac: Import new version storage/bdb/dist/aclocal_java/ac_jni_include_dirs.ac: Import new version storage/bdb/dist/aclocal_java/ac_prog_jar.ac: Import new version storage/bdb/dist/aclocal_java/ac_prog_java.ac: Import new version storage/bdb/dist/aclocal_java/ac_prog_java_works.ac: Import new version storage/bdb/dist/aclocal_java/ac_prog_javac.ac: Import new version storage/bdb/dist/aclocal_java/ac_prog_javac_works.ac: Import new version storage/bdb/dist/aclocal_java/ac_prog_javadoc.ac: Import new version storage/bdb/dist/aclocal_java/ac_prog_javah.ac: Import new version storage/bdb/dist/aclocal_java/ac_try_compile_java.ac: Import new version storage/bdb/dist/aclocal_java/ac_try_run_javac.ac: Import new version storage/bdb/dist/buildrel: Import new version storage/bdb/dist/config.guess: Import new version storage/bdb/dist/config.sub: Import new version storage/bdb/dist/configure.ac: Import new version storage/bdb/dist/gen_rec.awk: Import new version storage/bdb/dist/gen_rpc.awk: Import new version storage/bdb/dist/ltmain.sh: Import new version storage/bdb/dist/pubdef.in: Import new version storage/bdb/dist/s_all: Import new version storage/bdb/dist/s_config: Import new version storage/bdb/dist/s_crypto: Import new version storage/bdb/dist/s_include: Import new version storage/bdb/dist/s_java_const: Import new version storage/bdb/dist/s_java_stat: Import new version storage/bdb/dist/s_java_swig: Import new version storage/bdb/dist/s_java: Import new version storage/bdb/dist/s_je2db: Import new version storage/bdb/dist/s_perm: Import new version storage/bdb/dist/s_readme: Import new version storage/bdb/dist/s_recover: Import new version storage/bdb/dist/s_rpc: Import new version storage/bdb/dist/s_symlink: Import new version storage/bdb/dist/s_tags: Import new version storage/bdb/dist/s_test: Import new version storage/bdb/dist/s_vxworks: Import new version storage/bdb/dist/s_win32_dsp: Import new version storage/bdb/dist/s_win32: Import new version storage/bdb/dist/s_winmsi: Import new version storage/bdb/dist/srcfiles.in: Import new version storage/bdb/dist/vx_buildcd: Import new version storage/bdb/dist/vx_config.in: Import new version storage/bdb/dist/vx_setup/LICENSE.TXT: Import new version storage/bdb/dist/win_config.in: Import new version storage/bdb/dist/win_db.in: Import new version storage/bdb/dist/win_exports.in: Import new version storage/bdb/dist/winmsi/files.in: Import new version storage/bdb/dist/winmsi/links.in: Import new version storage/bdb/dist/winmsi/s_winmsi.fcn: Import new version storage/bdb/dist/winmsi/winbuild.bat: Import new version storage/bdb/env/db_salloc.c: Import new version storage/bdb/env/db_shash.c: Import new version storage/bdb/env/env_file.c: Import new version storage/bdb/env/env_method.c: Import new version storage/bdb/env/env_open.c: Import new version storage/bdb/env/env_recover.c: Import new version storage/bdb/env/env_region.c: Import new version storage/bdb/env/env_stat.c: Import new version storage/bdb/fileops/fileops.src: Import new version storage/bdb/fileops/fop_basic.c: Import new version storage/bdb/fileops/fop_rec.c: Import new version storage/bdb/fileops/fop_util.c: Import new version storage/bdb/hash/hash.c: Import new version storage/bdb/hash/hash.src: Import new version storage/bdb/hash/hash_conv.c: Import new version storage/bdb/hash/hash_dup.c: Import new version storage/bdb/hash/hash_func.c: Import new version storage/bdb/hash/hash_meta.c: Import new version storage/bdb/hash/hash_method.c: Import new version storage/bdb/hash/hash_open.c: Import new version storage/bdb/hash/hash_page.c: Import new version storage/bdb/hash/hash_rec.c: Import new version storage/bdb/hash/hash_reclaim.c: Import new version storage/bdb/hash/hash_stat.c: Import new version storage/bdb/hash/hash_stub.c: Import new version storage/bdb/hash/hash_upgrade.c: Import new version storage/bdb/hash/hash_verify.c: Import new version storage/bdb/hmac/hmac.c: Import new version storage/bdb/hmac/sha1.c: Import new version storage/bdb/hsearch/hsearch.c: Import new version storage/bdb/lock/Design: Import new version storage/bdb/lock/lock.c: Import new version storage/bdb/lock/lock_deadlock.c: Import new version storage/bdb/lock/lock_id.c: Import new version storage/bdb/lock/lock_list.c: Import new version storage/bdb/lock/lock_method.c: Import new version storage/bdb/lock/lock_region.c: Import new version storage/bdb/lock/lock_stat.c: Import new version storage/bdb/lock/lock_timer.c: Import new version storage/bdb/lock/lock_util.c: Import new version storage/bdb/log/log.c: Import new version storage/bdb/log/log_archive.c: Import new version storage/bdb/log/log_compare.c: Import new version storage/bdb/log/log_get.c: Import new version storage/bdb/log/log_method.c: Import new version storage/bdb/log/log_put.c: Import new version storage/bdb/log/log_stat.c: Import new version storage/bdb/mp/mp_alloc.c: Import new version storage/bdb/mp/mp_bh.c: Import new version storage/bdb/mp/mp_fget.c: Import new version storage/bdb/mp/mp_fmethod.c: Import new version storage/bdb/mp/mp_fopen.c: Import new version storage/bdb/mp/mp_fput.c: Import new version storage/bdb/mp/mp_fset.c: Import new version storage/bdb/mp/mp_method.c: Import new version storage/bdb/mp/mp_region.c: Import new version storage/bdb/mp/mp_register.c: Import new version storage/bdb/mp/mp_stat.c: Import new version storage/bdb/mp/mp_sync.c: Import new version storage/bdb/mp/mp_trickle.c: Import new version storage/bdb/mutex/README: Import new version storage/bdb/mutex/mut_fcntl.c: Import new version storage/bdb/mutex/mut_pthread.c: Import new version storage/bdb/mutex/mut_tas.c: Import new version storage/bdb/mutex/mut_win32.c: Import new version storage/bdb/mutex/tm.c: Import new version storage/bdb/mutex/uts4_cc.s: Import new version storage/bdb/os/os_abs.c: Import new version storage/bdb/os/os_alloc.c: Import new version storage/bdb/os/os_clock.c: Import new version storage/bdb/os/os_config.c: Import new version storage/bdb/os/os_dir.c: Import new version storage/bdb/os/os_errno.c: Import new version storage/bdb/os/os_fid.c: Import new version storage/bdb/os/os_fsync.c: Import new version storage/bdb/os/os_handle.c: Import new version storage/bdb/os/os_id.c: Import new version storage/bdb/os/os_map.c: Import new version storage/bdb/os/os_method.c: Import new version storage/bdb/os/os_oflags.c: Import new version storage/bdb/os/os_open.c: Import new version storage/bdb/os/os_region.c: Import new version storage/bdb/os/os_rename.c: Import new version storage/bdb/os/os_root.c: Import new version storage/bdb/os/os_rpath.c: Import new version storage/bdb/os/os_rw.c: Import new version storage/bdb/os/os_seek.c: Import new version storage/bdb/os/os_sleep.c: Import new version storage/bdb/os/os_spin.c: Import new version storage/bdb/os/os_stat.c: Import new version storage/bdb/os/os_tmpdir.c: Import new version storage/bdb/os/os_truncate.c: Import new version storage/bdb/os/os_unlink.c: Import new version storage/bdb/os_win32/os_abs.c: Import new version storage/bdb/os_win32/os_clock.c: Import new version storage/bdb/os_win32/os_config.c: Import new version storage/bdb/os_win32/os_dir.c: Import new version storage/bdb/os_win32/os_errno.c: Import new version storage/bdb/os_win32/os_fid.c: Import new version storage/bdb/os_win32/os_fsync.c: Import new version storage/bdb/os_win32/os_handle.c: Import new version storage/bdb/os_win32/os_map.c: Import new version storage/bdb/os_win32/os_open.c: Import new version storage/bdb/os_win32/os_rename.c: Import new version storage/bdb/os_win32/os_rw.c: Import new version storage/bdb/os_win32/os_seek.c: Import new version storage/bdb/os_win32/os_sleep.c: Import new version storage/bdb/os_win32/os_spin.c: Import new version storage/bdb/os_win32/os_stat.c: Import new version storage/bdb/os_win32/os_truncate.c: Import new version storage/bdb/os_win32/os_unlink.c: Import new version storage/bdb/qam/qam.c: Import new version storage/bdb/qam/qam.src: Import new version storage/bdb/qam/qam_conv.c: Import new version storage/bdb/qam/qam_files.c: Import new version storage/bdb/qam/qam_method.c: Import new version storage/bdb/qam/qam_open.c: Import new version storage/bdb/qam/qam_rec.c: Import new version storage/bdb/qam/qam_stat.c: Import new version storage/bdb/qam/qam_stub.c: Import new version storage/bdb/qam/qam_upgrade.c: Import new version storage/bdb/qam/qam_verify.c: Import new version storage/bdb/rep/rep.src: Import new version storage/bdb/rep/rep_backup.c: Import new version storage/bdb/rep/rep_method.c: Import new version storage/bdb/rep/rep_record.c: Import new version storage/bdb/rep/rep_region.c: Import new version storage/bdb/rep/rep_stat.c: Import new version storage/bdb/rep/rep_stub.c: Import new version storage/bdb/rep/rep_util.c: Import new version storage/bdb/sequence/seq_stat.c: Import new version storage/bdb/sequence/sequence.c: Import new version storage/bdb/txn/txn.c: Import new version storage/bdb/txn/txn.src: Import new version storage/bdb/txn/txn_method.c: Import new version storage/bdb/txn/txn_rec.c: Import new version storage/bdb/txn/txn_recover.c: Import new version storage/bdb/txn/txn_region.c: Import new version storage/bdb/txn/txn_stat.c: Import new version storage/bdb/txn/txn_util.c: Import new version storage/bdb/xa/xa.c: Import new version storage/bdb/xa/xa_db.c: Import new version storage/bdb/xa/xa_map.c: Import new version
2592 lines
66 KiB
C
2592 lines
66 KiB
C
/*-
|
|
* See the file LICENSE for redistribution information.
|
|
*
|
|
* Copyright (c) 2000-2005
|
|
* Sleepycat Software. All rights reserved.
|
|
*
|
|
* $Id: db_vrfy.c,v 12.14 2005/10/07 16:49:47 bostic Exp $
|
|
*/
|
|
|
|
#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/db_shash.h"
|
|
#include "dbinc/db_swap.h"
|
|
#include "dbinc/db_verify.h"
|
|
#include "dbinc/btree.h"
|
|
#include "dbinc/hash.h"
|
|
#include "dbinc/lock.h"
|
|
#include "dbinc/mp.h"
|
|
#include "dbinc/qam.h"
|
|
#include "dbinc/txn.h"
|
|
|
|
/*
|
|
* This is the code for DB->verify, the DB database consistency checker.
|
|
* For now, it checks all subdatabases in a database, and verifies
|
|
* everything it knows how to (i.e. it's all-or-nothing, and one can't
|
|
* check only for a subset of possible problems).
|
|
*/
|
|
|
|
static u_int __db_guesspgsize __P((DB_ENV *, DB_FH *));
|
|
static int __db_is_valid_magicno __P((u_int32_t, DBTYPE *));
|
|
static int __db_is_valid_pagetype __P((u_int32_t));
|
|
static int __db_meta2pgset
|
|
__P((DB *, VRFY_DBINFO *, db_pgno_t, u_int32_t, DB *));
|
|
static int __db_salvage_subdbpg __P((DB *, VRFY_DBINFO *,
|
|
PAGE *, void *, int (*)(void *, const void *), u_int32_t));
|
|
static int __db_salvage_subdbs __P((DB *, VRFY_DBINFO *, void *,
|
|
int(*)(void *, const void *), u_int32_t, int *));
|
|
static int __db_salvage_unknowns __P((DB *, VRFY_DBINFO *, void *,
|
|
int (*)(void *, const void *), u_int32_t));
|
|
static int __db_verify __P((DB *, const char *, const char *,
|
|
void *, int (*)(void *, const void *), u_int32_t));
|
|
static int __db_verify_arg __P((DB *, const char *, void *, u_int32_t));
|
|
static int __db_vrfy_freelist
|
|
__P((DB *, VRFY_DBINFO *, db_pgno_t, u_int32_t));
|
|
static int __db_vrfy_invalid
|
|
__P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, u_int32_t));
|
|
static int __db_vrfy_orderchkonly __P((DB *,
|
|
VRFY_DBINFO *, const char *, const char *, u_int32_t));
|
|
static int __db_vrfy_pagezero __P((DB *, VRFY_DBINFO *, DB_FH *, u_int32_t));
|
|
static int __db_vrfy_subdbs
|
|
__P((DB *, VRFY_DBINFO *, const char *, u_int32_t));
|
|
static int __db_vrfy_structure
|
|
__P((DB *, VRFY_DBINFO *, const char *, db_pgno_t, u_int32_t));
|
|
static int __db_vrfy_walkpages __P((DB *, VRFY_DBINFO *,
|
|
void *, int (*)(void *, const void *), u_int32_t));
|
|
|
|
#define VERIFY_FLAGS \
|
|
(DB_AGGRESSIVE | \
|
|
DB_NOORDERCHK | DB_ORDERCHKONLY | DB_PRINTABLE | DB_SALVAGE | DB_UNREF)
|
|
|
|
/*
|
|
* __db_verify_pp --
|
|
* DB->verify public interface.
|
|
*
|
|
* PUBLIC: int __db_verify_pp
|
|
* PUBLIC: __P((DB *, const char *, const char *, FILE *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_verify_pp(dbp, file, database, outfile, flags)
|
|
DB *dbp;
|
|
const char *file, *database;
|
|
FILE *outfile;
|
|
u_int32_t flags;
|
|
{
|
|
/*
|
|
* __db_verify_pp is a wrapper to __db_verify_internal, which lets
|
|
* us pass appropriate equivalents to FILE * in from the non-C APIs.
|
|
*/
|
|
return (__db_verify_internal(dbp,
|
|
file, database, outfile, __db_pr_callback, flags));
|
|
}
|
|
|
|
/*
|
|
* __db_verify_internal --
|
|
*
|
|
* PUBLIC: int __db_verify_internal __P((DB *, const char *,
|
|
* PUBLIC: const char *, void *, int (*)(void *, const void *), u_int32_t));
|
|
*/
|
|
int
|
|
__db_verify_internal(dbp, fname, dname, handle, callback, flags)
|
|
DB *dbp;
|
|
const char *fname, *dname;
|
|
void *handle;
|
|
int (*callback) __P((void *, const void *));
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
int ret, t_ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
DB_ILLEGAL_AFTER_OPEN(dbp, "DB->verify");
|
|
|
|
#ifdef HAVE_FTRUNCATE
|
|
/*
|
|
* If we're using ftruncate to abort page-allocation functions, there
|
|
* should never be unreferenced pages. Always check for unreferenced
|
|
* pages on those systems.
|
|
*/
|
|
if (!LF_ISSET(DB_SALVAGE))
|
|
LF_SET(DB_UNREF);
|
|
#endif
|
|
|
|
if ((ret = __db_verify_arg(dbp, dname, handle, flags)) == 0)
|
|
ret = __db_verify(dbp, fname, dname, handle, callback, flags);
|
|
|
|
/* Db.verify is a DB handle destructor. */
|
|
if ((t_ret = __db_close(dbp, NULL, 0)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_verify_arg --
|
|
* Check DB->verify arguments.
|
|
*/
|
|
static int
|
|
__db_verify_arg(dbp, dname, handle, flags)
|
|
DB *dbp;
|
|
const char *dname;
|
|
void *handle;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
int ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
if ((ret = __db_fchk(dbenv, "DB->verify", flags, VERIFY_FLAGS)) != 0)
|
|
return (ret);
|
|
|
|
/*
|
|
* DB_SALVAGE is mutually exclusive with the other flags except
|
|
* DB_AGGRESSIVE, DB_PRINTABLE.
|
|
*
|
|
* DB_AGGRESSIVE and DB_PRINTABLE are only meaningful when salvaging.
|
|
*
|
|
* DB_SALVAGE requires an output stream.
|
|
*/
|
|
if (LF_ISSET(DB_SALVAGE)) {
|
|
if (LF_ISSET(~(DB_AGGRESSIVE | DB_PRINTABLE | DB_SALVAGE)))
|
|
return (__db_ferr(dbenv, "DB->verify", 1));
|
|
if (handle == NULL) {
|
|
__db_err(dbenv,
|
|
"DB_SALVAGE requires a an output handle");
|
|
return (EINVAL);
|
|
}
|
|
} else
|
|
if (LF_ISSET(DB_AGGRESSIVE | DB_PRINTABLE))
|
|
return (__db_ferr(dbenv, "DB->verify", 1));
|
|
|
|
/*
|
|
* DB_ORDERCHKONLY is mutually exclusive with DB_SALVAGE and
|
|
* DB_NOORDERCHK, and requires a database name.
|
|
*/
|
|
if ((ret = __db_fcchk(dbenv, "DB->verify", flags,
|
|
DB_ORDERCHKONLY, DB_SALVAGE | DB_NOORDERCHK)) != 0)
|
|
return (ret);
|
|
if (LF_ISSET(DB_ORDERCHKONLY) && dname == NULL) {
|
|
__db_err(dbenv, "DB_ORDERCHKONLY requires a database name");
|
|
return (EINVAL);
|
|
}
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_verify --
|
|
* Walk the entire file page-by-page, either verifying with or without
|
|
* dumping in db_dump -d format, or DB_SALVAGE-ing whatever key/data
|
|
* pairs can be found and dumping them in standard (db_load-ready)
|
|
* dump format.
|
|
*
|
|
* (Salvaging isn't really a verification operation, but we put it
|
|
* here anyway because it requires essentially identical top-level
|
|
* code.)
|
|
*
|
|
* flags may be 0, DB_NOORDERCHK, DB_ORDERCHKONLY, or DB_SALVAGE
|
|
* (and optionally DB_AGGRESSIVE).
|
|
*/
|
|
static int
|
|
__db_verify(dbp, name, subdb, handle, callback, flags)
|
|
DB *dbp;
|
|
const char *name, *subdb;
|
|
void *handle;
|
|
int (*callback) __P((void *, const void *));
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_FH *fhp;
|
|
VRFY_DBINFO *vdp;
|
|
int has_subdbs, isbad, ret, t_ret;
|
|
char *real_name;
|
|
|
|
dbenv = dbp->dbenv;
|
|
fhp = NULL;
|
|
vdp = NULL;
|
|
real_name = NULL;
|
|
has_subdbs = isbad = ret = 0;
|
|
|
|
F_SET(dbp, DB_AM_VERIFYING);
|
|
|
|
/* Initialize any feedback function. */
|
|
if (!LF_ISSET(DB_SALVAGE) && dbp->db_feedback != NULL)
|
|
dbp->db_feedback(dbp, DB_VERIFY, 0);
|
|
|
|
/*
|
|
* We don't know how large the cache is, and if the database
|
|
* in question uses a small page size--which we don't know
|
|
* yet!--it may be uncomfortably small for the default page
|
|
* size [#2143]. However, the things we need temporary
|
|
* databases for in dbinfo are largely tiny, so using a
|
|
* 1024-byte pagesize is probably not going to be a big hit,
|
|
* and will make us fit better into small spaces.
|
|
*/
|
|
if ((ret = __db_vrfy_dbinfo_create(dbenv, 1024, &vdp)) != 0)
|
|
goto err;
|
|
|
|
/*
|
|
* Note whether the user has requested that we use printable
|
|
* chars where possible. We won't get here with this flag if
|
|
* we're not salvaging.
|
|
*/
|
|
if (LF_ISSET(DB_PRINTABLE))
|
|
F_SET(vdp, SALVAGE_PRINTABLE);
|
|
|
|
/* Find the real name of the file. */
|
|
if ((ret = __db_appname(dbenv,
|
|
DB_APP_DATA, name, 0, NULL, &real_name)) != 0)
|
|
goto err;
|
|
|
|
/*
|
|
* Our first order of business is to verify page 0, which is
|
|
* the metadata page for the master database of subdatabases
|
|
* or of the only database in the file. We want to do this by hand
|
|
* rather than just calling __db_open in case it's corrupt--various
|
|
* things in __db_open might act funny.
|
|
*
|
|
* Once we know the metadata page is healthy, I believe that it's
|
|
* safe to open the database normally and then use the page swapping
|
|
* code, which makes life easier.
|
|
*/
|
|
if ((ret = __os_open(dbenv, real_name, DB_OSO_RDONLY, 0, &fhp)) != 0)
|
|
goto err;
|
|
|
|
/* Verify the metadata page 0; set pagesize and type. */
|
|
if ((ret = __db_vrfy_pagezero(dbp, vdp, fhp, flags)) != 0) {
|
|
if (ret == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
else
|
|
goto err;
|
|
}
|
|
|
|
/*
|
|
* We can assume at this point that dbp->pagesize and dbp->type are
|
|
* set correctly, or at least as well as they can be, and that
|
|
* locking, logging, and txns are not in use. Thus we can trust
|
|
* the memp code not to look at the page, and thus to be safe
|
|
* enough to use.
|
|
*
|
|
* The dbp is not open, but the file is open in the fhp, and we
|
|
* cannot assume that __db_open is safe. Call __db_dbenv_setup,
|
|
* the [safe] part of __db_open that initializes the environment--
|
|
* and the mpool--manually.
|
|
*/
|
|
if ((ret = __db_dbenv_setup(dbp, NULL,
|
|
name, subdb, TXN_INVALID, DB_ODDFILESIZE | DB_RDONLY)) != 0)
|
|
goto err;
|
|
|
|
/*
|
|
* Set our name in the Queue subsystem; we may need it later
|
|
* to deal with extents.
|
|
*/
|
|
if (dbp->type == DB_QUEUE &&
|
|
(ret = __qam_set_ext_data(dbp, name)) != 0)
|
|
goto err;
|
|
|
|
/* Mark the dbp as opened, so that we correctly handle its close. */
|
|
F_SET(dbp, DB_AM_OPEN_CALLED);
|
|
|
|
/* Find out the page number of the last page in the database. */
|
|
if ((ret = __memp_last_pgno(dbp->mpf, &vdp->last_pgno)) != 0)
|
|
goto err;
|
|
|
|
/*
|
|
* DB_ORDERCHKONLY is a special case; our file consists of
|
|
* several subdatabases, which use different hash, bt_compare,
|
|
* and/or dup_compare functions. Consequently, we couldn't verify
|
|
* sorting and hashing simply by calling DB->verify() on the file.
|
|
* DB_ORDERCHKONLY allows us to come back and check those things; it
|
|
* requires a subdatabase, and assumes that everything but that
|
|
* database's sorting/hashing is correct.
|
|
*/
|
|
if (LF_ISSET(DB_ORDERCHKONLY)) {
|
|
ret = __db_vrfy_orderchkonly(dbp, vdp, name, subdb, flags);
|
|
goto done;
|
|
}
|
|
|
|
/*
|
|
* When salvaging, we use a db to keep track of whether we've seen a
|
|
* given overflow or dup page in the course of traversing normal data.
|
|
* If in the end we have not, we assume its key got lost and print it
|
|
* with key "UNKNOWN".
|
|
*/
|
|
if (LF_ISSET(DB_SALVAGE)) {
|
|
if ((ret = __db_salvage_init(vdp)) != 0)
|
|
goto err;
|
|
|
|
/*
|
|
* If we're not being aggressive, attempt to crack subdatabases.
|
|
* "has_subdbs" will indicate whether the attempt has succeeded
|
|
* (even in part), meaning that we have some semblance of
|
|
* subdatabases; on the walkpages pass, we print out whichever
|
|
* data pages we have not seen.
|
|
*/
|
|
if (!LF_ISSET(DB_AGGRESSIVE) && __db_salvage_subdbs(
|
|
dbp, vdp, handle, callback, flags, &has_subdbs) != 0)
|
|
isbad = 1;
|
|
|
|
/*
|
|
* If we have subdatabases, flag if any keys are found that
|
|
* don't belong to a subdatabase -- they'll need to have an
|
|
* "__OTHER__" subdatabase header printed first.
|
|
*/
|
|
if (has_subdbs)
|
|
F_SET(vdp, SALVAGE_PRINTHEADER);
|
|
}
|
|
|
|
if ((ret =
|
|
__db_vrfy_walkpages(dbp, vdp, handle, callback, flags)) != 0) {
|
|
if (ret == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
else
|
|
goto err;
|
|
}
|
|
|
|
/* If we're verifying, verify inter-page structure. */
|
|
if (!LF_ISSET(DB_SALVAGE) && isbad == 0)
|
|
if ((ret =
|
|
__db_vrfy_structure(dbp, vdp, name, 0, flags)) != 0) {
|
|
if (ret == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
else
|
|
goto err;
|
|
}
|
|
|
|
/*
|
|
* If we're salvaging, output with key UNKNOWN any overflow or dup pages
|
|
* we haven't been able to put in context. Then destroy the salvager's
|
|
* state-saving database.
|
|
*/
|
|
if (LF_ISSET(DB_SALVAGE)) {
|
|
if ((ret = __db_salvage_unknowns(dbp,
|
|
vdp, handle, callback, flags)) != 0)
|
|
isbad = 1;
|
|
/* No return value, since there's little we can do. */
|
|
__db_salvage_destroy(vdp);
|
|
}
|
|
|
|
/* Don't display a footer for a database holding other databases. */
|
|
if (LF_ISSET(DB_SALVAGE) &&
|
|
(!has_subdbs || F_ISSET(vdp, SALVAGE_PRINTFOOTER)))
|
|
(void)__db_prfooter(handle, callback);
|
|
|
|
done: err:
|
|
/* Send feedback that we're done. */
|
|
if (!LF_ISSET(DB_SALVAGE) && dbp->db_feedback != NULL)
|
|
dbp->db_feedback(dbp, DB_VERIFY, 100);
|
|
|
|
if (fhp != NULL &&
|
|
(t_ret = __os_closehandle(dbenv, fhp)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
if (vdp != NULL &&
|
|
(t_ret = __db_vrfy_dbinfo_destroy(dbenv, vdp)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
if (real_name != NULL)
|
|
__os_free(dbenv, real_name);
|
|
|
|
/*
|
|
* DB_VERIFY_FATAL is a private error, translate to a public one.
|
|
*
|
|
* If we didn't find a page, it's probably a page number was corrupted.
|
|
* Return the standard corruption error.
|
|
*
|
|
* Otherwise, if we found corruption along the way, set the return.
|
|
*/
|
|
if (ret == DB_VERIFY_FATAL ||
|
|
ret == DB_PAGE_NOTFOUND || (ret == 0 && isbad == 1))
|
|
ret = DB_VERIFY_BAD;
|
|
|
|
/* Make sure there's a public complaint if we found corruption. */
|
|
if (ret != 0)
|
|
__db_err(dbenv, "%s: %s", name, db_strerror(ret));
|
|
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_vrfy_pagezero --
|
|
* Verify the master metadata page. Use seek, read, and a local buffer
|
|
* rather than the DB paging code, for safety.
|
|
*
|
|
* Must correctly (or best-guess) set dbp->type and dbp->pagesize.
|
|
*/
|
|
static int
|
|
__db_vrfy_pagezero(dbp, vdp, fhp, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
DB_FH *fhp;
|
|
u_int32_t flags;
|
|
{
|
|
DBMETA *meta;
|
|
DB_ENV *dbenv;
|
|
VRFY_PAGEINFO *pip;
|
|
db_pgno_t freelist;
|
|
size_t nr;
|
|
int isbad, ret, swapped;
|
|
u_int8_t mbuf[DBMETASIZE];
|
|
|
|
isbad = ret = swapped = 0;
|
|
freelist = 0;
|
|
dbenv = dbp->dbenv;
|
|
meta = (DBMETA *)mbuf;
|
|
dbp->type = DB_UNKNOWN;
|
|
|
|
if ((ret = __db_vrfy_getpageinfo(vdp, PGNO_BASE_MD, &pip)) != 0)
|
|
return (ret);
|
|
|
|
/*
|
|
* Seek to the metadata page.
|
|
* Note that if we're just starting a verification, dbp->pgsize
|
|
* may be zero; this is okay, as we want page zero anyway and
|
|
* 0*0 == 0.
|
|
*/
|
|
if ((ret = __os_seek(dbenv, fhp, 0, 0, 0, 0, DB_OS_SEEK_SET)) != 0 ||
|
|
(ret = __os_read(dbenv, fhp, mbuf, DBMETASIZE, &nr)) != 0) {
|
|
__db_err(dbenv,
|
|
"Metadata page %lu cannot be read: %s",
|
|
(u_long)PGNO_BASE_MD, db_strerror(ret));
|
|
return (ret);
|
|
}
|
|
|
|
if (nr != DBMETASIZE) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: Incomplete metadata page",
|
|
(u_long)PGNO_BASE_MD));
|
|
return (DB_VERIFY_FATAL);
|
|
}
|
|
|
|
if ((ret = __db_chk_meta(dbenv, dbp, meta, 1)) != 0) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: metadata page corrupted", (u_long)PGNO_BASE_MD));
|
|
isbad = 1;
|
|
if (ret != -1) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: could not check metadata page",
|
|
(u_long)PGNO_BASE_MD));
|
|
return (DB_VERIFY_FATAL);
|
|
}
|
|
}
|
|
|
|
/*
|
|
* Check all of the fields that we can.
|
|
*
|
|
* 08-11: Current page number. Must == pgno.
|
|
* Note that endianness doesn't matter--it's zero.
|
|
*/
|
|
if (meta->pgno != PGNO_BASE_MD) {
|
|
isbad = 1;
|
|
EPRINT((dbenv, "Page %lu: pgno incorrectly set to %lu",
|
|
(u_long)PGNO_BASE_MD, (u_long)meta->pgno));
|
|
}
|
|
|
|
/* 12-15: Magic number. Must be one of valid set. */
|
|
if (__db_is_valid_magicno(meta->magic, &dbp->type))
|
|
swapped = 0;
|
|
else {
|
|
M_32_SWAP(meta->magic);
|
|
if (__db_is_valid_magicno(meta->magic,
|
|
&dbp->type))
|
|
swapped = 1;
|
|
else {
|
|
isbad = 1;
|
|
EPRINT((dbenv,
|
|
"Page %lu: bad magic number %lu",
|
|
(u_long)PGNO_BASE_MD, (u_long)meta->magic));
|
|
}
|
|
}
|
|
|
|
/*
|
|
* 16-19: Version. Must be current; for now, we
|
|
* don't support verification of old versions.
|
|
*/
|
|
if (swapped)
|
|
M_32_SWAP(meta->version);
|
|
if ((dbp->type == DB_BTREE &&
|
|
(meta->version > DB_BTREEVERSION ||
|
|
meta->version < DB_BTREEOLDVER)) ||
|
|
(dbp->type == DB_HASH &&
|
|
(meta->version > DB_HASHVERSION ||
|
|
meta->version < DB_HASHOLDVER)) ||
|
|
(dbp->type == DB_QUEUE &&
|
|
(meta->version > DB_QAMVERSION ||
|
|
meta->version < DB_QAMOLDVER))) {
|
|
isbad = 1;
|
|
EPRINT((dbenv,
|
|
"Page %lu: unsupported DB version %lu; extraneous errors may result",
|
|
(u_long)PGNO_BASE_MD, (u_long)meta->version));
|
|
}
|
|
|
|
/*
|
|
* 20-23: Pagesize. Must be power of two,
|
|
* greater than 512, and less than 64K.
|
|
*/
|
|
if (swapped)
|
|
M_32_SWAP(meta->pagesize);
|
|
if (IS_VALID_PAGESIZE(meta->pagesize))
|
|
dbp->pgsize = meta->pagesize;
|
|
else {
|
|
isbad = 1;
|
|
EPRINT((dbenv, "Page %lu: bad page size %lu",
|
|
(u_long)PGNO_BASE_MD, (u_long)meta->pagesize));
|
|
|
|
/*
|
|
* Now try to settle on a pagesize to use.
|
|
* If the user-supplied one is reasonable,
|
|
* use it; else, guess.
|
|
*/
|
|
if (!IS_VALID_PAGESIZE(dbp->pgsize))
|
|
dbp->pgsize = __db_guesspgsize(dbenv, fhp);
|
|
}
|
|
|
|
/*
|
|
* 25: Page type. Must be correct for dbp->type,
|
|
* which is by now set as well as it can be.
|
|
*/
|
|
/* Needs no swapping--only one byte! */
|
|
if ((dbp->type == DB_BTREE && meta->type != P_BTREEMETA) ||
|
|
(dbp->type == DB_HASH && meta->type != P_HASHMETA) ||
|
|
(dbp->type == DB_QUEUE && meta->type != P_QAMMETA)) {
|
|
isbad = 1;
|
|
EPRINT((dbenv, "Page %lu: bad page type %lu",
|
|
(u_long)PGNO_BASE_MD, (u_long)meta->type));
|
|
}
|
|
|
|
/*
|
|
* 26: Meta-flags.
|
|
*/
|
|
if (meta->metaflags != 0) {
|
|
if (meta->metaflags == DBMETA_CHKSUM)
|
|
F_SET(pip, VRFY_HAS_CHKSUM);
|
|
else {
|
|
isbad = 1;
|
|
EPRINT((dbenv,
|
|
"Page %lu: bad meta-data flags value %#lx",
|
|
(u_long)PGNO_BASE_MD, (u_long)meta->metaflags));
|
|
}
|
|
}
|
|
|
|
/*
|
|
* 28-31: Free list page number.
|
|
* We'll verify its sensibility when we do inter-page
|
|
* verification later; for now, just store it.
|
|
*/
|
|
if (swapped)
|
|
M_32_SWAP(meta->free);
|
|
freelist = meta->free;
|
|
|
|
/*
|
|
* Initialize vdp->pages to fit a single pageinfo structure for
|
|
* this one page. We'll realloc later when we know how many
|
|
* pages there are.
|
|
*/
|
|
pip->pgno = PGNO_BASE_MD;
|
|
pip->type = meta->type;
|
|
|
|
/*
|
|
* Signal that we still have to check the info specific to
|
|
* a given type of meta page.
|
|
*/
|
|
F_SET(pip, VRFY_INCOMPLETE);
|
|
|
|
pip->free = freelist;
|
|
|
|
if ((ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0)
|
|
return (ret);
|
|
|
|
/* Set up the dbp's fileid. We don't use the regular open path. */
|
|
memcpy(dbp->fileid, meta->uid, DB_FILE_ID_LEN);
|
|
|
|
if (swapped == 1)
|
|
F_SET(dbp, DB_AM_SWAP);
|
|
|
|
return (isbad ? DB_VERIFY_BAD : 0);
|
|
}
|
|
|
|
/*
|
|
* __db_vrfy_walkpages --
|
|
* Main loop of the verifier/salvager. Walks through,
|
|
* page by page, and verifies all pages and/or prints all data pages.
|
|
*/
|
|
static int
|
|
__db_vrfy_walkpages(dbp, vdp, handle, callback, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
void *handle;
|
|
int (*callback) __P((void *, const void *));
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_MPOOLFILE *mpf;
|
|
PAGE *h;
|
|
db_pgno_t i;
|
|
int ret, t_ret, isbad;
|
|
|
|
dbenv = dbp->dbenv;
|
|
mpf = dbp->mpf;
|
|
h = NULL;
|
|
ret = isbad = t_ret = 0;
|
|
|
|
for (i = 0; i <= vdp->last_pgno; i++) {
|
|
/*
|
|
* If DB_SALVAGE is set, we inspect our database of completed
|
|
* pages, and skip any we've already printed in the subdb pass.
|
|
*/
|
|
if (LF_ISSET(DB_SALVAGE) && (__db_salvage_isdone(vdp, i) != 0))
|
|
continue;
|
|
|
|
/*
|
|
* If an individual page get fails, keep going if and only
|
|
* if we're salvaging.
|
|
*/
|
|
if ((t_ret = __memp_fget(mpf, &i, 0, &h)) != 0) {
|
|
if (ret == 0)
|
|
ret = t_ret;
|
|
if (LF_ISSET(DB_SALVAGE))
|
|
continue;
|
|
return (ret);
|
|
}
|
|
|
|
if (LF_ISSET(DB_SALVAGE)) {
|
|
/*
|
|
* We pretty much don't want to quit unless a
|
|
* bomb hits. May as well return that something
|
|
* was screwy, however.
|
|
*/
|
|
if ((t_ret = __db_salvage(dbp,
|
|
vdp, i, h, handle, callback, flags)) != 0) {
|
|
if (ret == 0)
|
|
ret = t_ret;
|
|
isbad = 1;
|
|
}
|
|
} else {
|
|
/*
|
|
* If we are not salvaging, and we get any error
|
|
* other than DB_VERIFY_BAD, return immediately;
|
|
* it may not be safe to proceed. If we get
|
|
* DB_VERIFY_BAD, keep going; listing more errors
|
|
* may make it easier to diagnose problems and
|
|
* determine the magnitude of the corruption.
|
|
*
|
|
* Verify info common to all page types.
|
|
*/
|
|
if (i != PGNO_BASE_MD) {
|
|
ret = __db_vrfy_common(dbp, vdp, h, i, flags);
|
|
if (ret == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
else if (ret != 0)
|
|
goto err;
|
|
}
|
|
|
|
switch (TYPE(h)) {
|
|
case P_INVALID:
|
|
ret = __db_vrfy_invalid(dbp, vdp, h, i, flags);
|
|
break;
|
|
case __P_DUPLICATE:
|
|
isbad = 1;
|
|
EPRINT((dbenv,
|
|
"Page %lu: old-style duplicate page",
|
|
(u_long)i));
|
|
break;
|
|
case P_HASH:
|
|
ret = __ham_vrfy(dbp, vdp, h, i, flags);
|
|
break;
|
|
case P_IBTREE:
|
|
case P_IRECNO:
|
|
case P_LBTREE:
|
|
case P_LDUP:
|
|
ret = __bam_vrfy(dbp, vdp, h, i, flags);
|
|
break;
|
|
case P_LRECNO:
|
|
ret = __ram_vrfy_leaf(dbp, vdp, h, i, flags);
|
|
break;
|
|
case P_OVERFLOW:
|
|
ret = __db_vrfy_overflow(dbp, vdp, h, i, flags);
|
|
break;
|
|
case P_HASHMETA:
|
|
ret = __ham_vrfy_meta(dbp,
|
|
vdp, (HMETA *)h, i, flags);
|
|
break;
|
|
case P_BTREEMETA:
|
|
ret = __bam_vrfy_meta(dbp,
|
|
vdp, (BTMETA *)h, i, flags);
|
|
break;
|
|
case P_QAMMETA:
|
|
ret = __qam_vrfy_meta(dbp,
|
|
vdp, (QMETA *)h, i, flags);
|
|
break;
|
|
case P_QAMDATA:
|
|
ret = __qam_vrfy_data(dbp,
|
|
vdp, (QPAGE *)h, i, flags);
|
|
break;
|
|
default:
|
|
EPRINT((dbenv,
|
|
"Page %lu: unknown page type %lu",
|
|
(u_long)i, (u_long)TYPE(h)));
|
|
isbad = 1;
|
|
break;
|
|
}
|
|
|
|
/*
|
|
* Set up error return.
|
|
*/
|
|
if (ret == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
else if (ret != 0)
|
|
goto err;
|
|
|
|
/*
|
|
* Provide feedback to the application about our
|
|
* progress. The range 0-50% comes from the fact
|
|
* that this is the first of two passes through the
|
|
* database (front-to-back, then top-to-bottom).
|
|
*/
|
|
if (dbp->db_feedback != NULL)
|
|
dbp->db_feedback(dbp, DB_VERIFY,
|
|
(int)((i + 1) * 50 / (vdp->last_pgno + 1)));
|
|
}
|
|
|
|
/*
|
|
* Just as with the page get, bail if and only if we're
|
|
* not salvaging.
|
|
*/
|
|
if ((t_ret = __memp_fput(mpf, h, 0)) != 0) {
|
|
if (ret == 0)
|
|
ret = t_ret;
|
|
if (!LF_ISSET(DB_SALVAGE))
|
|
return (ret);
|
|
}
|
|
}
|
|
|
|
/*
|
|
* If we've seen a Queue metadata page, we may need to walk Queue
|
|
* extent pages that won't show up between 0 and vdp->last_pgno.
|
|
*/
|
|
if (F_ISSET(vdp, VRFY_QMETA_SET) && (t_ret =
|
|
__qam_vrfy_walkqueue(dbp, vdp, handle, callback, flags)) != 0) {
|
|
if (ret == 0)
|
|
ret = t_ret;
|
|
if (t_ret == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
else if (!LF_ISSET(DB_SALVAGE))
|
|
return (ret);
|
|
}
|
|
|
|
if (0) {
|
|
err: if (h != NULL && (t_ret = __memp_fput(mpf, h, 0)) != 0)
|
|
return (ret == 0 ? t_ret : ret);
|
|
}
|
|
|
|
return ((isbad == 1 && ret == 0) ? DB_VERIFY_BAD : ret);
|
|
}
|
|
|
|
/*
|
|
* __db_vrfy_structure--
|
|
* After a beginning-to-end walk through the database has been
|
|
* completed, put together the information that has been collected
|
|
* to verify the overall database structure.
|
|
*
|
|
* Should only be called if we want to do a database verification,
|
|
* i.e. if DB_SALVAGE is not set.
|
|
*/
|
|
static int
|
|
__db_vrfy_structure(dbp, vdp, dbname, meta_pgno, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
const char *dbname;
|
|
db_pgno_t meta_pgno;
|
|
u_int32_t flags;
|
|
{
|
|
DB *pgset;
|
|
DB_ENV *dbenv;
|
|
VRFY_PAGEINFO *pip;
|
|
db_pgno_t i;
|
|
int ret, isbad, hassubs, p;
|
|
|
|
isbad = 0;
|
|
pip = NULL;
|
|
dbenv = dbp->dbenv;
|
|
pgset = vdp->pgset;
|
|
|
|
/*
|
|
* Providing feedback here is tricky; in most situations,
|
|
* we fetch each page one more time, but we do so in a top-down
|
|
* order that depends on the access method. Worse, we do this
|
|
* recursively in btree, such that on any call where we're traversing
|
|
* a subtree we don't know where that subtree is in the whole database;
|
|
* worse still, any given database may be one of several subdbs.
|
|
*
|
|
* The solution is to decrement a counter vdp->pgs_remaining each time
|
|
* we verify (and call feedback on) a page. We may over- or
|
|
* under-count, but the structure feedback function will ensure that we
|
|
* never give a percentage under 50 or over 100. (The first pass
|
|
* covered the range 0-50%.)
|
|
*/
|
|
if (dbp->db_feedback != NULL)
|
|
vdp->pgs_remaining = vdp->last_pgno + 1;
|
|
|
|
/*
|
|
* Call the appropriate function to downwards-traverse the db type.
|
|
*/
|
|
switch (dbp->type) {
|
|
case DB_BTREE:
|
|
case DB_RECNO:
|
|
if ((ret = __bam_vrfy_structure(dbp, vdp, 0, flags)) != 0) {
|
|
if (ret == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
else
|
|
goto err;
|
|
}
|
|
|
|
/*
|
|
* If we have subdatabases and we know that the database is,
|
|
* thus far, sound, it's safe to walk the tree of subdatabases.
|
|
* Do so, and verify the structure of the databases within.
|
|
*/
|
|
if ((ret = __db_vrfy_getpageinfo(vdp, 0, &pip)) != 0)
|
|
goto err;
|
|
hassubs = F_ISSET(pip, VRFY_HAS_SUBDBS) ? 1 : 0;
|
|
if ((ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0)
|
|
goto err;
|
|
pip = NULL;
|
|
|
|
if (isbad == 0 && hassubs)
|
|
if ((ret =
|
|
__db_vrfy_subdbs(dbp, vdp, dbname, flags)) != 0) {
|
|
if (ret == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
else
|
|
goto err;
|
|
}
|
|
break;
|
|
case DB_HASH:
|
|
if ((ret = __ham_vrfy_structure(dbp, vdp, 0, flags)) != 0) {
|
|
if (ret == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
else
|
|
goto err;
|
|
}
|
|
break;
|
|
case DB_QUEUE:
|
|
if ((ret = __qam_vrfy_structure(dbp, vdp, flags)) != 0) {
|
|
if (ret == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
}
|
|
|
|
/*
|
|
* Queue pages may be unreferenced and totally zeroed, if
|
|
* they're empty; queue doesn't have much structure, so
|
|
* this is unlikely to be wrong in any troublesome sense.
|
|
* Skip to "err".
|
|
*/
|
|
goto err;
|
|
case DB_UNKNOWN:
|
|
default:
|
|
/* This should only happen if the verifier is somehow broken. */
|
|
DB_ASSERT(0);
|
|
ret = EINVAL;
|
|
goto err;
|
|
}
|
|
|
|
/* Walk free list. */
|
|
if ((ret =
|
|
__db_vrfy_freelist(dbp, vdp, meta_pgno, flags)) == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
|
|
/*
|
|
* If structure checks up until now have failed, it's likely that
|
|
* checking what pages have been missed will result in oodles of
|
|
* extraneous error messages being EPRINTed. Skip to the end
|
|
* if this is the case; we're going to be printing at least one
|
|
* error anyway, and probably all the more salient ones.
|
|
*/
|
|
if (ret != 0 || isbad == 1)
|
|
goto err;
|
|
|
|
/*
|
|
* Make sure no page has been missed and that no page is still marked
|
|
* "all zeroes" (only certain hash pages can be, and they're unmarked
|
|
* in __ham_vrfy_structure).
|
|
*/
|
|
for (i = 0; i < vdp->last_pgno + 1; i++) {
|
|
if ((ret = __db_vrfy_getpageinfo(vdp, i, &pip)) != 0)
|
|
goto err;
|
|
if ((ret = __db_vrfy_pgset_get(pgset, i, &p)) != 0)
|
|
goto err;
|
|
if (pip->type == P_OVERFLOW) {
|
|
if ((u_int32_t)p != pip->refcount) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: overflow refcount %lu, referenced %lu times",
|
|
(u_long)i,
|
|
(u_long)pip->refcount, (u_long)p));
|
|
isbad = 1;
|
|
}
|
|
} else if (p == 0 && LF_ISSET(DB_UNREF)) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: unreferenced page", (u_long)i));
|
|
isbad = 1;
|
|
}
|
|
|
|
if (F_ISSET(pip, VRFY_IS_ALLZEROES)) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: totally zeroed page", (u_long)i));
|
|
isbad = 1;
|
|
}
|
|
if ((ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0)
|
|
goto err;
|
|
pip = NULL;
|
|
}
|
|
|
|
err: if (pip != NULL)
|
|
(void)__db_vrfy_putpageinfo(dbenv, vdp, pip);
|
|
|
|
return ((isbad == 1 && ret == 0) ? DB_VERIFY_BAD : ret);
|
|
}
|
|
|
|
/*
|
|
* __db_is_valid_pagetype
|
|
*/
|
|
static int
|
|
__db_is_valid_pagetype(type)
|
|
u_int32_t type;
|
|
{
|
|
switch (type) {
|
|
case P_INVALID: /* Order matches ordinal value. */
|
|
case P_HASH:
|
|
case P_IBTREE:
|
|
case P_IRECNO:
|
|
case P_LBTREE:
|
|
case P_LRECNO:
|
|
case P_OVERFLOW:
|
|
case P_HASHMETA:
|
|
case P_BTREEMETA:
|
|
case P_QAMMETA:
|
|
case P_QAMDATA:
|
|
case P_LDUP:
|
|
return (1);
|
|
default:
|
|
break;
|
|
}
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_is_valid_magicno
|
|
*/
|
|
static int
|
|
__db_is_valid_magicno(magic, typep)
|
|
u_int32_t magic;
|
|
DBTYPE *typep;
|
|
{
|
|
switch (magic) {
|
|
case DB_BTREEMAGIC:
|
|
*typep = DB_BTREE;
|
|
return (1);
|
|
case DB_HASHMAGIC:
|
|
*typep = DB_HASH;
|
|
return (1);
|
|
case DB_QAMMAGIC:
|
|
*typep = DB_QUEUE;
|
|
return (1);
|
|
default:
|
|
break;
|
|
}
|
|
*typep = DB_UNKNOWN;
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_vrfy_common --
|
|
* Verify info common to all page types.
|
|
*
|
|
* PUBLIC: int __db_vrfy_common
|
|
* PUBLIC: __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, u_int32_t));
|
|
*/
|
|
int
|
|
__db_vrfy_common(dbp, vdp, h, pgno, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
PAGE *h;
|
|
db_pgno_t pgno;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
VRFY_PAGEINFO *pip;
|
|
int ret, t_ret;
|
|
u_int8_t *p;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
if ((ret = __db_vrfy_getpageinfo(vdp, pgno, &pip)) != 0)
|
|
return (ret);
|
|
|
|
pip->pgno = pgno;
|
|
F_CLR(pip, VRFY_IS_ALLZEROES);
|
|
|
|
/*
|
|
* Hash expands the table by leaving some pages between the
|
|
* old last and the new last totally zeroed. Its pgin function
|
|
* should fix things, but we might not be using that (e.g. if
|
|
* we're a subdatabase).
|
|
*
|
|
* Queue will create sparse files if sparse record numbers are used.
|
|
*/
|
|
if (pgno != 0 && PGNO(h) == 0) {
|
|
for (p = (u_int8_t *)h; p < (u_int8_t *)h + dbp->pgsize; p++)
|
|
if (*p != 0) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: partially zeroed page",
|
|
(u_long)pgno));
|
|
ret = DB_VERIFY_BAD;
|
|
goto err;
|
|
}
|
|
/*
|
|
* It's totally zeroed; mark it as a hash, and we'll
|
|
* check that that makes sense structurally later.
|
|
* (The queue verification doesn't care, since queues
|
|
* don't really have much in the way of structure.)
|
|
*/
|
|
pip->type = P_HASH;
|
|
F_SET(pip, VRFY_IS_ALLZEROES);
|
|
ret = 0;
|
|
goto err; /* well, not really an err. */
|
|
}
|
|
|
|
if (PGNO(h) != pgno) {
|
|
EPRINT((dbenv, "Page %lu: bad page number %lu",
|
|
(u_long)pgno, (u_long)h->pgno));
|
|
ret = DB_VERIFY_BAD;
|
|
}
|
|
|
|
if (!__db_is_valid_pagetype(h->type)) {
|
|
EPRINT((dbenv, "Page %lu: bad page type %lu",
|
|
(u_long)pgno, (u_long)h->type));
|
|
ret = DB_VERIFY_BAD;
|
|
}
|
|
pip->type = h->type;
|
|
|
|
err: if ((t_ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_vrfy_invalid --
|
|
* Verify P_INVALID page.
|
|
* (Yes, there's not much to do here.)
|
|
*/
|
|
static int
|
|
__db_vrfy_invalid(dbp, vdp, h, pgno, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
PAGE *h;
|
|
db_pgno_t pgno;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
VRFY_PAGEINFO *pip;
|
|
int ret, t_ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
if ((ret = __db_vrfy_getpageinfo(vdp, pgno, &pip)) != 0)
|
|
return (ret);
|
|
pip->next_pgno = pip->prev_pgno = 0;
|
|
|
|
if (!IS_VALID_PGNO(NEXT_PGNO(h))) {
|
|
EPRINT((dbenv, "Page %lu: invalid next_pgno %lu",
|
|
(u_long)pgno, (u_long)NEXT_PGNO(h)));
|
|
ret = DB_VERIFY_BAD;
|
|
} else
|
|
pip->next_pgno = NEXT_PGNO(h);
|
|
|
|
if ((t_ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_vrfy_datapage --
|
|
* Verify elements common to data pages (P_HASH, P_LBTREE,
|
|
* P_IBTREE, P_IRECNO, P_LRECNO, P_OVERFLOW, P_DUPLICATE)--i.e.,
|
|
* those defined in the PAGE structure.
|
|
*
|
|
* Called from each of the per-page routines, after the
|
|
* all-page-type-common elements of pip have been verified and filled
|
|
* in.
|
|
*
|
|
* PUBLIC: int __db_vrfy_datapage
|
|
* PUBLIC: __P((DB *, VRFY_DBINFO *, PAGE *, db_pgno_t, u_int32_t));
|
|
*/
|
|
int
|
|
__db_vrfy_datapage(dbp, vdp, h, pgno, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
PAGE *h;
|
|
db_pgno_t pgno;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
VRFY_PAGEINFO *pip;
|
|
int isbad, ret, t_ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
if ((ret = __db_vrfy_getpageinfo(vdp, pgno, &pip)) != 0)
|
|
return (ret);
|
|
isbad = 0;
|
|
|
|
/*
|
|
* prev_pgno and next_pgno: store for inter-page checks,
|
|
* verify that they point to actual pages and not to self.
|
|
*
|
|
* !!!
|
|
* Internal btree pages do not maintain these fields (indeed,
|
|
* they overload them). Skip.
|
|
*/
|
|
if (TYPE(h) != P_IBTREE && TYPE(h) != P_IRECNO) {
|
|
if (!IS_VALID_PGNO(PREV_PGNO(h)) || PREV_PGNO(h) == pip->pgno) {
|
|
isbad = 1;
|
|
EPRINT((dbenv, "Page %lu: invalid prev_pgno %lu",
|
|
(u_long)pip->pgno, (u_long)PREV_PGNO(h)));
|
|
}
|
|
if (!IS_VALID_PGNO(NEXT_PGNO(h)) || NEXT_PGNO(h) == pip->pgno) {
|
|
isbad = 1;
|
|
EPRINT((dbenv, "Page %lu: invalid next_pgno %lu",
|
|
(u_long)pip->pgno, (u_long)NEXT_PGNO(h)));
|
|
}
|
|
pip->prev_pgno = PREV_PGNO(h);
|
|
pip->next_pgno = NEXT_PGNO(h);
|
|
}
|
|
|
|
/*
|
|
* Verify the number of entries on the page.
|
|
* There is no good way to determine if this is accurate; the
|
|
* best we can do is verify that it's not more than can, in theory,
|
|
* fit on the page. Then, we make sure there are at least
|
|
* this many valid elements in inp[], and hope that this catches
|
|
* most cases.
|
|
*/
|
|
if (TYPE(h) != P_OVERFLOW) {
|
|
if (BKEYDATA_PSIZE(0) * NUM_ENT(h) > dbp->pgsize) {
|
|
isbad = 1;
|
|
EPRINT((dbenv, "Page %lu: too many entries: %lu",
|
|
(u_long)pgno, (u_long)NUM_ENT(h)));
|
|
}
|
|
pip->entries = NUM_ENT(h);
|
|
}
|
|
|
|
/*
|
|
* btree level. Should be zero unless we're a btree;
|
|
* if we are a btree, should be between LEAFLEVEL and MAXBTREELEVEL,
|
|
* and we need to save it off.
|
|
*/
|
|
switch (TYPE(h)) {
|
|
case P_IBTREE:
|
|
case P_IRECNO:
|
|
if (LEVEL(h) < LEAFLEVEL + 1) {
|
|
isbad = 1;
|
|
EPRINT((dbenv, "Page %lu: bad btree level %lu",
|
|
(u_long)pgno, (u_long)LEVEL(h)));
|
|
}
|
|
pip->bt_level = LEVEL(h);
|
|
break;
|
|
case P_LBTREE:
|
|
case P_LDUP:
|
|
case P_LRECNO:
|
|
if (LEVEL(h) != LEAFLEVEL) {
|
|
isbad = 1;
|
|
EPRINT((dbenv,
|
|
"Page %lu: btree leaf page has incorrect level %lu",
|
|
(u_long)pgno, (u_long)LEVEL(h)));
|
|
}
|
|
break;
|
|
default:
|
|
if (LEVEL(h) != 0) {
|
|
isbad = 1;
|
|
EPRINT((dbenv,
|
|
"Page %lu: nonzero level %lu in non-btree database",
|
|
(u_long)pgno, (u_long)LEVEL(h)));
|
|
}
|
|
break;
|
|
}
|
|
|
|
/*
|
|
* Even though inp[] occurs in all PAGEs, we look at it in the
|
|
* access-method-specific code, since btree and hash treat
|
|
* item lengths very differently, and one of the most important
|
|
* things we want to verify is that the data--as specified
|
|
* by offset and length--cover the right part of the page
|
|
* without overlaps, gaps, or violations of the page boundary.
|
|
*/
|
|
if ((t_ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
return ((ret == 0 && isbad == 1) ? DB_VERIFY_BAD : ret);
|
|
}
|
|
|
|
/*
|
|
* __db_vrfy_meta--
|
|
* Verify the access-method common parts of a meta page, using
|
|
* normal mpool routines.
|
|
*
|
|
* PUBLIC: int __db_vrfy_meta
|
|
* PUBLIC: __P((DB *, VRFY_DBINFO *, DBMETA *, db_pgno_t, u_int32_t));
|
|
*/
|
|
int
|
|
__db_vrfy_meta(dbp, vdp, meta, pgno, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
DBMETA *meta;
|
|
db_pgno_t pgno;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DBTYPE dbtype, magtype;
|
|
VRFY_PAGEINFO *pip;
|
|
int isbad, ret, t_ret;
|
|
|
|
isbad = 0;
|
|
dbenv = dbp->dbenv;
|
|
|
|
if ((ret = __db_vrfy_getpageinfo(vdp, pgno, &pip)) != 0)
|
|
return (ret);
|
|
|
|
/* type plausible for a meta page */
|
|
switch (meta->type) {
|
|
case P_BTREEMETA:
|
|
dbtype = DB_BTREE;
|
|
break;
|
|
case P_HASHMETA:
|
|
dbtype = DB_HASH;
|
|
break;
|
|
case P_QAMMETA:
|
|
dbtype = DB_QUEUE;
|
|
break;
|
|
default:
|
|
/* The verifier should never let us get here. */
|
|
DB_ASSERT(0);
|
|
ret = EINVAL;
|
|
goto err;
|
|
}
|
|
|
|
/* magic number valid */
|
|
if (!__db_is_valid_magicno(meta->magic, &magtype)) {
|
|
isbad = 1;
|
|
EPRINT((dbenv,
|
|
"Page %lu: invalid magic number", (u_long)pgno));
|
|
}
|
|
if (magtype != dbtype) {
|
|
isbad = 1;
|
|
EPRINT((dbenv,
|
|
"Page %lu: magic number does not match database type",
|
|
(u_long)pgno));
|
|
}
|
|
|
|
/* version */
|
|
if ((dbtype == DB_BTREE &&
|
|
(meta->version > DB_BTREEVERSION ||
|
|
meta->version < DB_BTREEOLDVER)) ||
|
|
(dbtype == DB_HASH &&
|
|
(meta->version > DB_HASHVERSION ||
|
|
meta->version < DB_HASHOLDVER)) ||
|
|
(dbtype == DB_QUEUE &&
|
|
(meta->version > DB_QAMVERSION ||
|
|
meta->version < DB_QAMOLDVER))) {
|
|
isbad = 1;
|
|
EPRINT((dbenv,
|
|
"Page %lu: unsupported database version %lu; extraneous errors may result",
|
|
(u_long)pgno, (u_long)meta->version));
|
|
}
|
|
|
|
/* pagesize */
|
|
if (meta->pagesize != dbp->pgsize) {
|
|
isbad = 1;
|
|
EPRINT((dbenv, "Page %lu: invalid pagesize %lu",
|
|
(u_long)pgno, (u_long)meta->pagesize));
|
|
}
|
|
|
|
/* Flags */
|
|
if (meta->metaflags != 0) {
|
|
if (meta->metaflags == DBMETA_CHKSUM)
|
|
F_SET(pip, VRFY_HAS_CHKSUM);
|
|
else {
|
|
isbad = 1;
|
|
EPRINT((dbenv,
|
|
"Page %lu: bad meta-data flags value %#lx",
|
|
(u_long)PGNO_BASE_MD, (u_long)meta->metaflags));
|
|
}
|
|
}
|
|
|
|
/*
|
|
* Free list.
|
|
*
|
|
* If this is not the main, master-database meta page, it
|
|
* should not have a free list.
|
|
*/
|
|
if (pgno != PGNO_BASE_MD && meta->free != PGNO_INVALID) {
|
|
isbad = 1;
|
|
EPRINT((dbenv,
|
|
"Page %lu: nonempty free list on subdatabase metadata page",
|
|
(u_long)pgno));
|
|
}
|
|
|
|
/* Can correctly be PGNO_INVALID--that's just the end of the list. */
|
|
if (meta->free != PGNO_INVALID && IS_VALID_PGNO(meta->free))
|
|
pip->free = meta->free;
|
|
else if (!IS_VALID_PGNO(meta->free)) {
|
|
isbad = 1;
|
|
EPRINT((dbenv,
|
|
"Page %lu: nonsensical free list pgno %lu",
|
|
(u_long)pgno, (u_long)meta->free));
|
|
}
|
|
|
|
/*
|
|
* We have now verified the common fields of the metadata page.
|
|
* Clear the flag that told us they had been incompletely checked.
|
|
*/
|
|
F_CLR(pip, VRFY_INCOMPLETE);
|
|
|
|
err: if ((t_ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
return ((ret == 0 && isbad == 1) ? DB_VERIFY_BAD : ret);
|
|
}
|
|
|
|
/*
|
|
* __db_vrfy_freelist --
|
|
* Walk free list, checking off pages and verifying absence of
|
|
* loops.
|
|
*/
|
|
static int
|
|
__db_vrfy_freelist(dbp, vdp, meta, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
db_pgno_t meta;
|
|
u_int32_t flags;
|
|
{
|
|
DB *pgset;
|
|
DB_ENV *dbenv;
|
|
VRFY_PAGEINFO *pip;
|
|
db_pgno_t cur_pgno, next_pgno;
|
|
int p, ret, t_ret;
|
|
|
|
pgset = vdp->pgset;
|
|
DB_ASSERT(pgset != NULL);
|
|
dbenv = dbp->dbenv;
|
|
|
|
if ((ret = __db_vrfy_getpageinfo(vdp, meta, &pip)) != 0)
|
|
return (ret);
|
|
for (next_pgno = pip->free;
|
|
next_pgno != PGNO_INVALID; next_pgno = pip->next_pgno) {
|
|
cur_pgno = pip->pgno;
|
|
if ((ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0)
|
|
return (ret);
|
|
|
|
/* This shouldn't happen, but just in case. */
|
|
if (!IS_VALID_PGNO(next_pgno)) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: invalid next_pgno %lu on free list page",
|
|
(u_long)cur_pgno, (u_long)next_pgno));
|
|
return (DB_VERIFY_BAD);
|
|
}
|
|
|
|
/* Detect cycles. */
|
|
if ((ret = __db_vrfy_pgset_get(pgset, next_pgno, &p)) != 0)
|
|
return (ret);
|
|
if (p != 0) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: page %lu encountered a second time on free list",
|
|
(u_long)cur_pgno, (u_long)next_pgno));
|
|
return (DB_VERIFY_BAD);
|
|
}
|
|
if ((ret = __db_vrfy_pgset_inc(pgset, next_pgno)) != 0)
|
|
return (ret);
|
|
|
|
if ((ret = __db_vrfy_getpageinfo(vdp, next_pgno, &pip)) != 0)
|
|
return (ret);
|
|
|
|
if (pip->type != P_INVALID) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: non-invalid page %lu on free list",
|
|
(u_long)cur_pgno, (u_long)next_pgno));
|
|
ret = DB_VERIFY_BAD; /* unsafe to continue */
|
|
break;
|
|
}
|
|
}
|
|
|
|
if ((t_ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0)
|
|
ret = t_ret;
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_vrfy_subdbs --
|
|
* Walk the known-safe master database of subdbs with a cursor,
|
|
* verifying the structure of each subdatabase we encounter.
|
|
*/
|
|
static int
|
|
__db_vrfy_subdbs(dbp, vdp, dbname, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
const char *dbname;
|
|
u_int32_t flags;
|
|
{
|
|
DB *mdbp;
|
|
DBC *dbc;
|
|
DBT key, data;
|
|
DB_ENV *dbenv;
|
|
VRFY_PAGEINFO *pip;
|
|
db_pgno_t meta_pgno;
|
|
int ret, t_ret, isbad;
|
|
u_int8_t type;
|
|
|
|
isbad = 0;
|
|
dbc = NULL;
|
|
dbenv = dbp->dbenv;
|
|
|
|
if ((ret =
|
|
__db_master_open(dbp, NULL, dbname, DB_RDONLY, 0, &mdbp)) != 0)
|
|
return (ret);
|
|
|
|
if ((ret = __db_cursor_int(mdbp,
|
|
NULL, DB_BTREE, PGNO_INVALID, 0, DB_LOCK_INVALIDID, &dbc)) != 0)
|
|
goto err;
|
|
|
|
memset(&key, 0, sizeof(key));
|
|
memset(&data, 0, sizeof(data));
|
|
while ((ret = __db_c_get(dbc, &key, &data, DB_NEXT)) == 0) {
|
|
if (data.size != sizeof(db_pgno_t)) {
|
|
EPRINT((dbenv,
|
|
"Subdatabase entry not page-number size"));
|
|
isbad = 1;
|
|
goto err;
|
|
}
|
|
memcpy(&meta_pgno, data.data, data.size);
|
|
/*
|
|
* Subdatabase meta pgnos are stored in network byte
|
|
* order for cross-endian compatibility. Swap if appropriate.
|
|
*/
|
|
DB_NTOHL(&meta_pgno);
|
|
if (meta_pgno == PGNO_INVALID || meta_pgno > vdp->last_pgno) {
|
|
EPRINT((dbenv,
|
|
"Subdatabase entry references invalid page %lu",
|
|
(u_long)meta_pgno));
|
|
isbad = 1;
|
|
goto err;
|
|
}
|
|
if ((ret = __db_vrfy_getpageinfo(vdp, meta_pgno, &pip)) != 0)
|
|
goto err;
|
|
type = pip->type;
|
|
if ((ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0)
|
|
goto err;
|
|
switch (type) {
|
|
case P_BTREEMETA:
|
|
if ((ret = __bam_vrfy_structure(
|
|
dbp, vdp, meta_pgno, flags)) != 0) {
|
|
if (ret == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
else
|
|
goto err;
|
|
}
|
|
break;
|
|
case P_HASHMETA:
|
|
if ((ret = __ham_vrfy_structure(
|
|
dbp, vdp, meta_pgno, flags)) != 0) {
|
|
if (ret == DB_VERIFY_BAD)
|
|
isbad = 1;
|
|
else
|
|
goto err;
|
|
}
|
|
break;
|
|
case P_QAMMETA:
|
|
default:
|
|
EPRINT((dbenv,
|
|
"Subdatabase entry references page %lu of invalid type %lu",
|
|
(u_long)meta_pgno, (u_long)type));
|
|
ret = DB_VERIFY_BAD;
|
|
goto err;
|
|
}
|
|
}
|
|
|
|
if (ret == DB_NOTFOUND)
|
|
ret = 0;
|
|
|
|
err: if (dbc != NULL && (t_ret = __db_c_close(dbc)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
if ((t_ret = __db_close(mdbp, NULL, 0)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
return ((ret == 0 && isbad == 1) ? DB_VERIFY_BAD : ret);
|
|
}
|
|
|
|
/*
|
|
* __db_vrfy_struct_feedback --
|
|
* Provide feedback during top-down database structure traversal.
|
|
* (See comment at the beginning of __db_vrfy_structure.)
|
|
*
|
|
* PUBLIC: void __db_vrfy_struct_feedback __P((DB *, VRFY_DBINFO *));
|
|
*/
|
|
void
|
|
__db_vrfy_struct_feedback(dbp, vdp)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
{
|
|
int progress;
|
|
|
|
if (dbp->db_feedback == NULL)
|
|
return;
|
|
|
|
if (vdp->pgs_remaining > 0)
|
|
vdp->pgs_remaining--;
|
|
|
|
/* Don't allow a feedback call of 100 until we're really done. */
|
|
progress = 100 - (int)(vdp->pgs_remaining * 50 / (vdp->last_pgno + 1));
|
|
dbp->db_feedback(dbp, DB_VERIFY, progress == 100 ? 99 : progress);
|
|
}
|
|
|
|
/*
|
|
* __db_vrfy_orderchkonly --
|
|
* Do an sort-order/hashing check on a known-otherwise-good subdb.
|
|
*/
|
|
static int
|
|
__db_vrfy_orderchkonly(dbp, vdp, name, subdb, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
const char *name, *subdb;
|
|
u_int32_t flags;
|
|
{
|
|
BTMETA *btmeta;
|
|
DB *mdbp, *pgset;
|
|
DBC *pgsc;
|
|
DBT key, data;
|
|
DB_ENV *dbenv;
|
|
DB_MPOOLFILE *mpf;
|
|
HASH *h_internal;
|
|
HMETA *hmeta;
|
|
PAGE *h, *currpg;
|
|
db_pgno_t meta_pgno, p, pgno;
|
|
u_int32_t bucket;
|
|
int t_ret, ret;
|
|
|
|
pgset = NULL;
|
|
pgsc = NULL;
|
|
dbenv = dbp->dbenv;
|
|
mpf = dbp->mpf;
|
|
currpg = h = NULL;
|
|
|
|
LF_CLR(DB_NOORDERCHK);
|
|
|
|
/* Open the master database and get the meta_pgno for the subdb. */
|
|
if ((ret = __db_master_open(dbp, NULL, name, DB_RDONLY, 0, &mdbp)) != 0)
|
|
goto err;
|
|
|
|
memset(&key, 0, sizeof(key));
|
|
key.data = (void *)subdb;
|
|
key.size = (u_int32_t)strlen(subdb);
|
|
memset(&data, 0, sizeof(data));
|
|
if ((ret = __db_get(mdbp, NULL, &key, &data, 0)) != 0)
|
|
goto err;
|
|
|
|
if (data.size != sizeof(db_pgno_t)) {
|
|
EPRINT((dbenv, "Subdatabase entry of invalid size"));
|
|
ret = DB_VERIFY_BAD;
|
|
goto err;
|
|
}
|
|
|
|
memcpy(&meta_pgno, data.data, data.size);
|
|
|
|
/*
|
|
* Subdatabase meta pgnos are stored in network byte
|
|
* order for cross-endian compatibility. Swap if appropriate.
|
|
*/
|
|
DB_NTOHL(&meta_pgno);
|
|
|
|
if ((ret = __memp_fget(mpf, &meta_pgno, 0, &h)) != 0)
|
|
goto err;
|
|
|
|
if ((ret = __db_vrfy_pgset(dbenv, dbp->pgsize, &pgset)) != 0)
|
|
goto err;
|
|
|
|
switch (TYPE(h)) {
|
|
case P_BTREEMETA:
|
|
btmeta = (BTMETA *)h;
|
|
if (F_ISSET(&btmeta->dbmeta, BTM_RECNO)) {
|
|
/* Recnos have no order to check. */
|
|
ret = 0;
|
|
goto err;
|
|
}
|
|
if ((ret =
|
|
__db_meta2pgset(dbp, vdp, meta_pgno, flags, pgset)) != 0)
|
|
goto err;
|
|
if ((ret = __db_cursor_int(pgset, NULL, dbp->type,
|
|
PGNO_INVALID, 0, DB_LOCK_INVALIDID, &pgsc)) != 0)
|
|
goto err;
|
|
while ((ret = __db_vrfy_pgset_next(pgsc, &p)) == 0) {
|
|
if ((ret = __memp_fget(mpf, &p, 0, &currpg)) != 0)
|
|
goto err;
|
|
if ((ret = __bam_vrfy_itemorder(dbp,
|
|
NULL, currpg, p, NUM_ENT(currpg), 1,
|
|
F_ISSET(&btmeta->dbmeta, BTM_DUP), flags)) != 0)
|
|
goto err;
|
|
if ((ret = __memp_fput(mpf, currpg, 0)) != 0)
|
|
goto err;
|
|
currpg = NULL;
|
|
}
|
|
|
|
/*
|
|
* The normal exit condition for the loop above is DB_NOTFOUND.
|
|
* If we see that, zero it and continue on to cleanup.
|
|
* Otherwise, it's a real error and will be returned.
|
|
*/
|
|
if (ret == DB_NOTFOUND)
|
|
ret = 0;
|
|
break;
|
|
case P_HASHMETA:
|
|
hmeta = (HMETA *)h;
|
|
h_internal = (HASH *)dbp->h_internal;
|
|
/*
|
|
* Make sure h_charkey is right.
|
|
*/
|
|
if (h_internal == NULL) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: DB->h_internal field is NULL",
|
|
(u_long)meta_pgno));
|
|
ret = DB_VERIFY_BAD;
|
|
goto err;
|
|
}
|
|
if (h_internal->h_hash == NULL)
|
|
h_internal->h_hash = hmeta->dbmeta.version < 5
|
|
? __ham_func4 : __ham_func5;
|
|
if (hmeta->h_charkey !=
|
|
h_internal->h_hash(dbp, CHARKEY, sizeof(CHARKEY))) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: incorrect hash function for database",
|
|
(u_long)meta_pgno));
|
|
ret = DB_VERIFY_BAD;
|
|
goto err;
|
|
}
|
|
|
|
/*
|
|
* Foreach bucket, verify hashing on each page in the
|
|
* corresponding chain of pages.
|
|
*/
|
|
for (bucket = 0; bucket <= hmeta->max_bucket; bucket++) {
|
|
pgno = BS_TO_PAGE(bucket, hmeta->spares);
|
|
while (pgno != PGNO_INVALID) {
|
|
if ((ret = __memp_fget(mpf,
|
|
&pgno, 0, &currpg)) != 0)
|
|
goto err;
|
|
if ((ret = __ham_vrfy_hashing(dbp,
|
|
NUM_ENT(currpg), hmeta, bucket, pgno,
|
|
flags, h_internal->h_hash)) != 0)
|
|
goto err;
|
|
pgno = NEXT_PGNO(currpg);
|
|
if ((ret = __memp_fput(mpf, currpg, 0)) != 0)
|
|
goto err;
|
|
currpg = NULL;
|
|
}
|
|
}
|
|
break;
|
|
default:
|
|
EPRINT((dbenv, "Page %lu: database metapage of bad type %lu",
|
|
(u_long)meta_pgno, (u_long)TYPE(h)));
|
|
ret = DB_VERIFY_BAD;
|
|
break;
|
|
}
|
|
|
|
err: if (pgsc != NULL && (t_ret = __db_c_close(pgsc)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
if (pgset != NULL &&
|
|
(t_ret = __db_close(pgset, NULL, 0)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
if (h != NULL && (t_ret = __memp_fput(mpf, h, 0)) != 0)
|
|
ret = t_ret;
|
|
if (currpg != NULL && (t_ret = __memp_fput(mpf, currpg, 0)) != 0)
|
|
ret = t_ret;
|
|
if ((t_ret = __db_close(mdbp, NULL, 0)) != 0)
|
|
ret = t_ret;
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_salvage --
|
|
* Walk through a page, salvaging all likely or plausible (w/
|
|
* DB_AGGRESSIVE) key/data pairs.
|
|
*
|
|
* PUBLIC: int __db_salvage __P((DB *, VRFY_DBINFO *, db_pgno_t,
|
|
* PUBLIC: PAGE *, void *, int (*)(void *, const void *), u_int32_t));
|
|
*/
|
|
int
|
|
__db_salvage(dbp, vdp, pgno, h, handle, callback, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
db_pgno_t pgno;
|
|
PAGE *h;
|
|
void *handle;
|
|
int (*callback) __P((void *, const void *));
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
VRFY_PAGEINFO *pip;
|
|
int keyflag, ret, t_ret;
|
|
|
|
DB_ASSERT(LF_ISSET(DB_SALVAGE));
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
/*
|
|
* !!!
|
|
* We dump record numbers when salvaging Queue databases, but not for
|
|
* immutable Recno databases. The problem is we can't figure out the
|
|
* record number from the database page in the Recno case, while the
|
|
* offset in the file is sufficient for Queue.
|
|
*/
|
|
keyflag = 0;
|
|
|
|
/* If we got this page in the subdb pass, we can safely skip it. */
|
|
if (__db_salvage_isdone(vdp, pgno))
|
|
return (0);
|
|
|
|
switch (TYPE(h)) {
|
|
case P_HASHMETA:
|
|
ret = __ham_vrfy_meta(dbp, vdp, (HMETA *)h, pgno, flags);
|
|
break;
|
|
case P_BTREEMETA:
|
|
ret = __bam_vrfy_meta(dbp, vdp, (BTMETA *)h, pgno, flags);
|
|
break;
|
|
case P_QAMMETA:
|
|
keyflag = 1;
|
|
ret = __qam_vrfy_meta(dbp, vdp, (QMETA *)h, pgno, flags);
|
|
break;
|
|
case P_HASH:
|
|
return (__ham_salvage(
|
|
dbp, vdp, pgno, h, handle, callback, flags));
|
|
case P_LBTREE:
|
|
return (__bam_salvage(dbp,
|
|
vdp, pgno, P_LBTREE, h, handle, callback, NULL, flags));
|
|
case P_LDUP:
|
|
return (__db_salvage_markneeded(vdp, pgno, SALVAGE_LDUP));
|
|
case P_OVERFLOW:
|
|
return (__db_salvage_markneeded(vdp, pgno, SALVAGE_OVERFLOW));
|
|
case P_LRECNO:
|
|
/*
|
|
* Recnos are tricky -- they may represent dup pages, or
|
|
* they may be subdatabase/regular database pages in their
|
|
* own right. If the former, they need to be printed with a
|
|
* key, preferably when we hit the corresponding datum in
|
|
* a btree/hash page. If the latter, there is no key.
|
|
*
|
|
* If a database is sufficiently frotzed, we're not going
|
|
* to be able to get this right, so we best-guess: just
|
|
* mark it needed now, and if we're really a normal recno
|
|
* database page, the "unknowns" pass will pick us up.
|
|
*/
|
|
return (__db_salvage_markneeded(vdp, pgno, SALVAGE_LRECNO));
|
|
case P_QAMDATA:
|
|
return (__qam_salvage(dbp,
|
|
vdp, pgno, h, handle, callback, flags));
|
|
case P_IBTREE:
|
|
case P_INVALID:
|
|
case P_IRECNO:
|
|
case __P_DUPLICATE:
|
|
default:
|
|
/* XXX: Should we be more aggressive here? */
|
|
return (0);
|
|
}
|
|
if (ret != 0)
|
|
return (ret);
|
|
|
|
/*
|
|
* We have to display the dump header if it's a metadata page. It's
|
|
* our last chance as the page was marked "seen" in the vrfy routine,
|
|
* and we won't see the page again. We don't display headers for
|
|
* the first database in a multi-database file, that database simply
|
|
* contains a list of subdatabases.
|
|
*/
|
|
if ((ret = __db_vrfy_getpageinfo(vdp, pgno, &pip)) != 0)
|
|
return (ret);
|
|
if (!F_ISSET(pip, VRFY_HAS_SUBDBS))
|
|
ret = __db_prheader(
|
|
dbp, NULL, 0, keyflag, handle, callback, vdp, pgno);
|
|
if ((t_ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_salvage_unknowns --
|
|
* Walk through the salvager database, printing with key "UNKNOWN"
|
|
* any pages we haven't dealt with.
|
|
*/
|
|
static int
|
|
__db_salvage_unknowns(dbp, vdp, handle, callback, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
void *handle;
|
|
int (*callback) __P((void *, const void *));
|
|
u_int32_t flags;
|
|
{
|
|
DBC *dbc;
|
|
DBT unkdbt, key, *dbt;
|
|
DB_ENV *dbenv;
|
|
DB_MPOOLFILE *mpf;
|
|
PAGE *h;
|
|
db_pgno_t pgno;
|
|
u_int32_t pgtype;
|
|
int ret, t_ret;
|
|
void *ovflbuf;
|
|
|
|
dbc = NULL;
|
|
dbenv = dbp->dbenv;
|
|
mpf = dbp->mpf;
|
|
|
|
memset(&unkdbt, 0, sizeof(DBT));
|
|
unkdbt.size = (u_int32_t)strlen("UNKNOWN") + 1;
|
|
unkdbt.data = "UNKNOWN";
|
|
|
|
if ((ret = __os_malloc(dbenv, dbp->pgsize, &ovflbuf)) != 0)
|
|
return (ret);
|
|
|
|
/*
|
|
* We make two passes -- in the first pass, skip SALVAGE_OVERFLOW
|
|
* pages, because they may be referenced by the standard database
|
|
* pages that we're resolving.
|
|
*/
|
|
while ((t_ret =
|
|
__db_salvage_getnext(vdp, &dbc, &pgno, &pgtype, 1)) == 0) {
|
|
if ((t_ret = __memp_fget(mpf, &pgno, 0, &h)) != 0) {
|
|
if (ret == 0)
|
|
ret = t_ret;
|
|
continue;
|
|
}
|
|
|
|
dbt = NULL;
|
|
switch (pgtype) {
|
|
case SALVAGE_LDUP:
|
|
case SALVAGE_LRECNODUP:
|
|
dbt = &unkdbt;
|
|
/* FALLTHROUGH */
|
|
case SALVAGE_LBTREE:
|
|
case SALVAGE_LRECNO:
|
|
if ((t_ret = __bam_salvage(dbp, vdp, pgno, pgtype,
|
|
h, handle, callback, dbt, flags)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
break;
|
|
case SALVAGE_OVERFLOW:
|
|
DB_ASSERT(0); /* Shouldn't ever happen. */
|
|
break;
|
|
case SALVAGE_HASH:
|
|
if ((t_ret = __ham_salvage(dbp, vdp,
|
|
pgno, h, handle, callback, flags)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
break;
|
|
case SALVAGE_INVALID:
|
|
case SALVAGE_IGNORE:
|
|
default:
|
|
/*
|
|
* Shouldn't happen, but if it does, just do what the
|
|
* nice man says.
|
|
*/
|
|
DB_ASSERT(0);
|
|
break;
|
|
}
|
|
if ((t_ret = __memp_fput(mpf, h, 0)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
}
|
|
|
|
/* We should have reached the end of the database. */
|
|
if (t_ret == DB_NOTFOUND)
|
|
t_ret = 0;
|
|
if (t_ret != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
/* Re-open the cursor so we traverse the database again. */
|
|
if ((t_ret = __db_c_close(dbc)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
dbc = NULL;
|
|
|
|
/* Now, deal with any remaining overflow pages. */
|
|
while ((t_ret =
|
|
__db_salvage_getnext(vdp, &dbc, &pgno, &pgtype, 0)) == 0) {
|
|
if ((t_ret = __memp_fget(mpf, &pgno, 0, &h)) != 0) {
|
|
if (ret == 0)
|
|
ret = t_ret;
|
|
continue;
|
|
}
|
|
|
|
switch (pgtype) {
|
|
case SALVAGE_OVERFLOW:
|
|
/*
|
|
* XXX:
|
|
* This may generate multiple "UNKNOWN" keys in
|
|
* a database with no dups. What to do?
|
|
*/
|
|
if ((t_ret = __db_safe_goff(dbp,
|
|
vdp, pgno, &key, &ovflbuf, flags)) != 0 ||
|
|
((vdp->type == DB_BTREE || vdp->type == DB_HASH) &&
|
|
(t_ret = __db_vrfy_prdbt(&unkdbt,
|
|
0, " ", handle, callback, 0, vdp)) != 0) ||
|
|
(t_ret = __db_vrfy_prdbt(
|
|
&key, 0, " ", handle, callback, 0, vdp)) != 0)
|
|
if (ret == 0)
|
|
ret = t_ret;
|
|
break;
|
|
default:
|
|
DB_ASSERT(0); /* Shouldn't ever happen. */
|
|
break;
|
|
}
|
|
if ((t_ret = __memp_fput(mpf, h, 0)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
}
|
|
|
|
/* We should have reached the end of the database. */
|
|
if (t_ret == DB_NOTFOUND)
|
|
t_ret = 0;
|
|
if (t_ret != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
if ((t_ret = __db_c_close(dbc)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
__os_free(dbenv, ovflbuf);
|
|
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* Offset of the ith inp array entry, which we can compare to the offset
|
|
* the entry stores.
|
|
*/
|
|
#define INP_OFFSET(dbp, h, i) \
|
|
((db_indx_t)((u_int8_t *)((P_INP(dbp,(h))) + (i)) - (u_int8_t *)(h)))
|
|
|
|
/*
|
|
* __db_vrfy_inpitem --
|
|
* Verify that a single entry in the inp array is sane, and update
|
|
* the high water mark and current item offset. (The former of these is
|
|
* used for state information between calls, and is required; it must
|
|
* be initialized to the pagesize before the first call.)
|
|
*
|
|
* Returns DB_VERIFY_FATAL if inp has collided with the data,
|
|
* since verification can't continue from there; returns DB_VERIFY_BAD
|
|
* if anything else is wrong.
|
|
*
|
|
* PUBLIC: int __db_vrfy_inpitem __P((DB *, PAGE *,
|
|
* PUBLIC: db_pgno_t, u_int32_t, int, u_int32_t, u_int32_t *, u_int32_t *));
|
|
*/
|
|
int
|
|
__db_vrfy_inpitem(dbp, h, pgno, i, is_btree, flags, himarkp, offsetp)
|
|
DB *dbp;
|
|
PAGE *h;
|
|
db_pgno_t pgno;
|
|
u_int32_t i;
|
|
int is_btree;
|
|
u_int32_t flags, *himarkp, *offsetp;
|
|
{
|
|
BKEYDATA *bk;
|
|
DB_ENV *dbenv;
|
|
db_indx_t *inp, offset, len;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
DB_ASSERT(himarkp != NULL);
|
|
inp = P_INP(dbp, h);
|
|
|
|
/*
|
|
* Check that the inp array, which grows from the beginning of the
|
|
* page forward, has not collided with the data, which grow from the
|
|
* end of the page backward.
|
|
*/
|
|
if (inp + i >= (db_indx_t *)((u_int8_t *)h + *himarkp)) {
|
|
/* We've collided with the data. We need to bail. */
|
|
EPRINT((dbenv, "Page %lu: entries listing %lu overlaps data",
|
|
(u_long)pgno, (u_long)i));
|
|
return (DB_VERIFY_FATAL);
|
|
}
|
|
|
|
offset = inp[i];
|
|
|
|
/*
|
|
* Check that the item offset is reasonable: it points somewhere
|
|
* after the inp array and before the end of the page.
|
|
*/
|
|
if (offset <= INP_OFFSET(dbp, h, i) || offset > dbp->pgsize) {
|
|
EPRINT((dbenv, "Page %lu: bad offset %lu at page index %lu",
|
|
(u_long)pgno, (u_long)offset, (u_long)i));
|
|
return (DB_VERIFY_BAD);
|
|
}
|
|
|
|
/* Update the high-water mark (what HOFFSET should be) */
|
|
if (offset < *himarkp)
|
|
*himarkp = offset;
|
|
|
|
if (is_btree) {
|
|
/*
|
|
* Check alignment; if it's unaligned, it's unsafe to
|
|
* manipulate this item.
|
|
*/
|
|
if (offset != DB_ALIGN(offset, sizeof(u_int32_t))) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: unaligned offset %lu at page index %lu",
|
|
(u_long)pgno, (u_long)offset, (u_long)i));
|
|
return (DB_VERIFY_BAD);
|
|
}
|
|
|
|
/*
|
|
* Check that the item length remains on-page.
|
|
*/
|
|
bk = GET_BKEYDATA(dbp, h, i);
|
|
|
|
/*
|
|
* We need to verify the type of the item here;
|
|
* we can't simply assume that it will be one of the
|
|
* expected three. If it's not a recognizable type,
|
|
* it can't be considered to have a verifiable
|
|
* length, so it's not possible to certify it as safe.
|
|
*/
|
|
switch (B_TYPE(bk->type)) {
|
|
case B_KEYDATA:
|
|
len = bk->len;
|
|
break;
|
|
case B_DUPLICATE:
|
|
case B_OVERFLOW:
|
|
len = BOVERFLOW_SIZE;
|
|
break;
|
|
default:
|
|
EPRINT((dbenv,
|
|
"Page %lu: item %lu of unrecognizable type",
|
|
(u_long)pgno, (u_long)i));
|
|
return (DB_VERIFY_BAD);
|
|
}
|
|
|
|
if ((size_t)(offset + len) > dbp->pgsize) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: item %lu extends past page boundary",
|
|
(u_long)pgno, (u_long)i));
|
|
return (DB_VERIFY_BAD);
|
|
}
|
|
}
|
|
|
|
if (offsetp != NULL)
|
|
*offsetp = offset;
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_vrfy_duptype--
|
|
* Given a page number and a set of flags to __bam_vrfy_subtree,
|
|
* verify that the dup tree type is correct--i.e., it's a recno
|
|
* if DUPSORT is not set and a btree if it is.
|
|
*
|
|
* PUBLIC: int __db_vrfy_duptype
|
|
* PUBLIC: __P((DB *, VRFY_DBINFO *, db_pgno_t, u_int32_t));
|
|
*/
|
|
int
|
|
__db_vrfy_duptype(dbp, vdp, pgno, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
db_pgno_t pgno;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
VRFY_PAGEINFO *pip;
|
|
int ret, isbad;
|
|
|
|
dbenv = dbp->dbenv;
|
|
isbad = 0;
|
|
|
|
if ((ret = __db_vrfy_getpageinfo(vdp, pgno, &pip)) != 0)
|
|
return (ret);
|
|
|
|
switch (pip->type) {
|
|
case P_IBTREE:
|
|
case P_LDUP:
|
|
if (!LF_ISSET(ST_DUPSORT)) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: sorted duplicate set in unsorted-dup database",
|
|
(u_long)pgno));
|
|
isbad = 1;
|
|
}
|
|
break;
|
|
case P_IRECNO:
|
|
case P_LRECNO:
|
|
if (LF_ISSET(ST_DUPSORT)) {
|
|
EPRINT((dbenv,
|
|
"Page %lu: unsorted duplicate set in sorted-dup database",
|
|
(u_long)pgno));
|
|
isbad = 1;
|
|
}
|
|
break;
|
|
default:
|
|
/*
|
|
* If the page is entirely zeroed, its pip->type will be a lie
|
|
* (we assumed it was a hash page, as they're allowed to be
|
|
* zeroed); handle this case specially.
|
|
*/
|
|
if (F_ISSET(pip, VRFY_IS_ALLZEROES))
|
|
ZEROPG_ERR_PRINT(dbenv, pgno, "duplicate page");
|
|
else
|
|
EPRINT((dbenv,
|
|
"Page %lu: duplicate page of inappropriate type %lu",
|
|
(u_long)pgno, (u_long)pip->type));
|
|
isbad = 1;
|
|
break;
|
|
}
|
|
|
|
if ((ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0)
|
|
return (ret);
|
|
return (isbad == 1 ? DB_VERIFY_BAD : 0);
|
|
}
|
|
|
|
/*
|
|
* __db_salvage_duptree --
|
|
* Attempt to salvage a given duplicate tree, given its alleged root.
|
|
*
|
|
* The key that corresponds to this dup set has been passed to us
|
|
* in DBT *key. Because data items follow keys, though, it has been
|
|
* printed once already.
|
|
*
|
|
* The basic idea here is that pgno ought to be a P_LDUP, a P_LRECNO, a
|
|
* P_IBTREE, or a P_IRECNO. If it's an internal page, use the verifier
|
|
* functions to make sure it's safe; if it's not, we simply bail and the
|
|
* data will have to be printed with no key later on. if it is safe,
|
|
* recurse on each of its children.
|
|
*
|
|
* Whether or not it's safe, if it's a leaf page, __bam_salvage it.
|
|
*
|
|
* At all times, use the DB hanging off vdp to mark and check what we've
|
|
* done, so each page gets printed exactly once and we don't get caught
|
|
* in any cycles.
|
|
*
|
|
* PUBLIC: int __db_salvage_duptree __P((DB *, VRFY_DBINFO *, db_pgno_t,
|
|
* PUBLIC: DBT *, void *, int (*)(void *, const void *), u_int32_t));
|
|
*/
|
|
int
|
|
__db_salvage_duptree(dbp, vdp, pgno, key, handle, callback, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
db_pgno_t pgno;
|
|
DBT *key;
|
|
void *handle;
|
|
int (*callback) __P((void *, const void *));
|
|
u_int32_t flags;
|
|
{
|
|
DB_MPOOLFILE *mpf;
|
|
PAGE *h;
|
|
int ret, t_ret;
|
|
|
|
mpf = dbp->mpf;
|
|
|
|
if (pgno == PGNO_INVALID || !IS_VALID_PGNO(pgno))
|
|
return (DB_VERIFY_BAD);
|
|
|
|
/* We have a plausible page. Try it. */
|
|
if ((ret = __memp_fget(mpf, &pgno, 0, &h)) != 0)
|
|
return (ret);
|
|
|
|
switch (TYPE(h)) {
|
|
case P_IBTREE:
|
|
case P_IRECNO:
|
|
if ((ret = __db_vrfy_common(dbp, vdp, h, pgno, flags)) != 0)
|
|
goto err;
|
|
if ((ret = __bam_vrfy(dbp,
|
|
vdp, h, pgno, flags | DB_NOORDERCHK)) != 0 ||
|
|
(ret = __db_salvage_markdone(vdp, pgno)) != 0)
|
|
goto err;
|
|
/*
|
|
* We have a known-healthy internal page. Walk it.
|
|
*/
|
|
if ((ret = __bam_salvage_walkdupint(dbp, vdp, h, key,
|
|
handle, callback, flags)) != 0)
|
|
goto err;
|
|
break;
|
|
case P_LRECNO:
|
|
case P_LDUP:
|
|
if ((ret = __bam_salvage(dbp,
|
|
vdp, pgno, TYPE(h), h, handle, callback, key, flags)) != 0)
|
|
goto err;
|
|
break;
|
|
default:
|
|
ret = DB_VERIFY_BAD;
|
|
goto err;
|
|
}
|
|
|
|
err: if ((t_ret = __memp_fput(mpf, h, 0)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_salvage_subdbs --
|
|
* Check and see if this database has subdbs; if so, try to salvage
|
|
* them independently.
|
|
*/
|
|
static int
|
|
__db_salvage_subdbs(dbp, vdp, handle, callback, flags, hassubsp)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
void *handle;
|
|
int (*callback) __P((void *, const void *));
|
|
u_int32_t flags;
|
|
int *hassubsp;
|
|
{
|
|
DB *pgset;
|
|
DBC *pgsc;
|
|
DB_ENV *dbenv;
|
|
DB_MPOOLFILE *mpf;
|
|
PAGE *h;
|
|
VRFY_PAGEINFO *pip;
|
|
db_pgno_t p, meta_pgno;
|
|
int ret, t_ret;
|
|
|
|
*hassubsp = 0;
|
|
|
|
dbenv = dbp->dbenv;
|
|
pgset = NULL;
|
|
pgsc = NULL;
|
|
mpf = dbp->mpf;
|
|
h = NULL;
|
|
pip = NULL;
|
|
ret = 0;
|
|
|
|
/*
|
|
* Check to make sure the page is OK and find out if it contains
|
|
* subdatabases.
|
|
*/
|
|
meta_pgno = PGNO_BASE_MD;
|
|
if ((t_ret = __memp_fget(mpf, &meta_pgno, 0, &h)) == 0 &&
|
|
(t_ret = __db_vrfy_common(dbp, vdp, h, PGNO_BASE_MD, flags)) == 0 &&
|
|
(t_ret = __db_salvage(
|
|
dbp, vdp, PGNO_BASE_MD, h, handle, callback, flags)) == 0 &&
|
|
(t_ret = __db_vrfy_getpageinfo(vdp, 0, &pip)) == 0)
|
|
if (F_ISSET(pip, VRFY_HAS_SUBDBS))
|
|
*hassubsp = 1;
|
|
if (pip != NULL &&
|
|
(t_ret = __db_vrfy_putpageinfo(dbenv, vdp, pip)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
if (h != NULL) {
|
|
if ((t_ret = __memp_fput(mpf, h, 0)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
h = NULL;
|
|
}
|
|
if (ret != 0 || *hassubsp == 0)
|
|
return (ret);
|
|
|
|
/*
|
|
* We have subdbs. Try to crack them.
|
|
*
|
|
* To do so, get a set of leaf pages in the master database, and then
|
|
* walk each of the valid ones, salvaging subdbs as we go. If any
|
|
* prove invalid, just drop them; we'll pick them up on a later pass.
|
|
*/
|
|
if ((ret = __db_vrfy_pgset(dbenv, dbp->pgsize, &pgset)) != 0)
|
|
goto err;
|
|
if ((ret = __db_meta2pgset(dbp, vdp, PGNO_BASE_MD, flags, pgset)) != 0)
|
|
goto err;
|
|
if ((ret = __db_cursor(pgset, NULL, &pgsc, 0)) != 0)
|
|
goto err;
|
|
while ((t_ret = __db_vrfy_pgset_next(pgsc, &p)) == 0) {
|
|
if ((t_ret = __memp_fget(mpf, &p, 0, &h)) == 0 &&
|
|
(t_ret = __db_vrfy_common(dbp, vdp, h, p, flags)) == 0 &&
|
|
(t_ret =
|
|
__bam_vrfy(dbp, vdp, h, p, flags | DB_NOORDERCHK)) == 0)
|
|
t_ret = __db_salvage_subdbpg(
|
|
dbp, vdp, h, handle, callback, flags);
|
|
if (t_ret != 0 && ret == 0)
|
|
ret = t_ret;
|
|
if (h != NULL) {
|
|
if ((t_ret = __memp_fput(mpf, h, 0)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
h = NULL;
|
|
}
|
|
}
|
|
|
|
if (t_ret != DB_NOTFOUND && ret == 0)
|
|
ret = t_ret;
|
|
|
|
err: if (pgsc != NULL && (t_ret = __db_c_close(pgsc)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
if (pgset != NULL &&
|
|
(t_ret = __db_close(pgset, NULL, 0)) != 0 && ret ==0)
|
|
ret = t_ret;
|
|
if (h != NULL && (t_ret = __memp_fput(mpf, h, 0)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_salvage_subdbpg --
|
|
* Given a known-good leaf page in the master database, salvage all
|
|
* leaf pages corresponding to each subdb.
|
|
*/
|
|
static int
|
|
__db_salvage_subdbpg(dbp, vdp, master, handle, callback, flags)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
PAGE *master;
|
|
void *handle;
|
|
int (*callback) __P((void *, const void *));
|
|
u_int32_t flags;
|
|
{
|
|
BKEYDATA *bkkey, *bkdata;
|
|
BOVERFLOW *bo;
|
|
DB *pgset;
|
|
DBC *pgsc;
|
|
DBT key;
|
|
DB_ENV *dbenv;
|
|
DB_MPOOLFILE *mpf;
|
|
PAGE *subpg;
|
|
db_indx_t i;
|
|
db_pgno_t meta_pgno, p;
|
|
int ret, err_ret, t_ret;
|
|
char *subdbname;
|
|
|
|
dbenv = dbp->dbenv;
|
|
mpf = dbp->mpf;
|
|
ret = err_ret = 0;
|
|
subdbname = NULL;
|
|
|
|
if ((ret = __db_vrfy_pgset(dbenv, dbp->pgsize, &pgset)) != 0)
|
|
return (ret);
|
|
|
|
/*
|
|
* For each entry, get and salvage the set of pages
|
|
* corresponding to that entry.
|
|
*/
|
|
for (i = 0; i < NUM_ENT(master); i += P_INDX) {
|
|
bkkey = GET_BKEYDATA(dbp, master, i);
|
|
bkdata = GET_BKEYDATA(dbp, master, i + O_INDX);
|
|
|
|
/* Get the subdatabase name. */
|
|
if (B_TYPE(bkkey->type) == B_OVERFLOW) {
|
|
/*
|
|
* We can, in principle anyway, have a subdb
|
|
* name so long it overflows. Ick.
|
|
*/
|
|
bo = (BOVERFLOW *)bkkey;
|
|
if ((ret = __db_safe_goff(dbp, vdp,
|
|
bo->pgno, &key, &subdbname, flags)) != 0) {
|
|
err_ret = DB_VERIFY_BAD;
|
|
continue;
|
|
}
|
|
|
|
/* Nul-terminate it. */
|
|
if ((ret = __os_realloc(dbenv,
|
|
key.size + 1, &subdbname)) != 0)
|
|
goto err;
|
|
subdbname[key.size] = '\0';
|
|
} else if (B_TYPE(bkkey->type) == B_KEYDATA) {
|
|
if ((ret = __os_realloc(dbenv,
|
|
bkkey->len + 1, &subdbname)) != 0)
|
|
goto err;
|
|
memcpy(subdbname, bkkey->data, bkkey->len);
|
|
subdbname[bkkey->len] = '\0';
|
|
}
|
|
|
|
/* Get the corresponding pgno. */
|
|
if (bkdata->len != sizeof(db_pgno_t)) {
|
|
err_ret = DB_VERIFY_BAD;
|
|
continue;
|
|
}
|
|
memcpy(&meta_pgno,
|
|
(db_pgno_t *)bkdata->data, sizeof(db_pgno_t));
|
|
|
|
/*
|
|
* Subdatabase meta pgnos are stored in network byte
|
|
* order for cross-endian compatibility. Swap if appropriate.
|
|
*/
|
|
DB_NTOHL(&meta_pgno);
|
|
|
|
/* If we can't get the subdb meta page, just skip the subdb. */
|
|
if (!IS_VALID_PGNO(meta_pgno) ||
|
|
(ret = __memp_fget(mpf, &meta_pgno, 0, &subpg)) != 0) {
|
|
err_ret = ret;
|
|
continue;
|
|
}
|
|
|
|
/*
|
|
* Verify the subdatabase meta page. This has two functions.
|
|
* First, if it's bad, we have no choice but to skip the subdb
|
|
* and let the pages just get printed on a later pass. Second,
|
|
* the access-method-specific meta verification routines record
|
|
* the various state info (such as the presence of dups)
|
|
* that we need for __db_prheader().
|
|
*/
|
|
if ((ret =
|
|
__db_vrfy_common(dbp, vdp, subpg, meta_pgno, flags)) != 0) {
|
|
err_ret = ret;
|
|
(void)__memp_fput(mpf, subpg, 0);
|
|
continue;
|
|
}
|
|
switch (TYPE(subpg)) {
|
|
case P_BTREEMETA:
|
|
if ((ret = __bam_vrfy_meta(dbp,
|
|
vdp, (BTMETA *)subpg, meta_pgno, flags)) != 0) {
|
|
err_ret = ret;
|
|
(void)__memp_fput(mpf, subpg, 0);
|
|
continue;
|
|
}
|
|
break;
|
|
case P_HASHMETA:
|
|
if ((ret = __ham_vrfy_meta(dbp,
|
|
vdp, (HMETA *)subpg, meta_pgno, flags)) != 0) {
|
|
err_ret = ret;
|
|
(void)__memp_fput(mpf, subpg, 0);
|
|
continue;
|
|
}
|
|
break;
|
|
default:
|
|
/* This isn't an appropriate page; skip this subdb. */
|
|
err_ret = DB_VERIFY_BAD;
|
|
continue;
|
|
}
|
|
|
|
if ((ret = __memp_fput(mpf, subpg, 0)) != 0) {
|
|
err_ret = ret;
|
|
continue;
|
|
}
|
|
|
|
/* Print a subdatabase header. */
|
|
if ((ret = __db_prheader(dbp,
|
|
subdbname, 0, 0, handle, callback, vdp, meta_pgno)) != 0)
|
|
goto err;
|
|
|
|
if ((ret = __db_meta2pgset(dbp, vdp, meta_pgno,
|
|
flags, pgset)) != 0) {
|
|
err_ret = ret;
|
|
continue;
|
|
}
|
|
|
|
if ((ret = __db_cursor(pgset, NULL, &pgsc, 0)) != 0)
|
|
goto err;
|
|
while ((ret = __db_vrfy_pgset_next(pgsc, &p)) == 0) {
|
|
if ((ret = __memp_fget(mpf, &p, 0, &subpg)) != 0) {
|
|
err_ret = ret;
|
|
continue;
|
|
}
|
|
if ((ret = __db_salvage(dbp, vdp, p, subpg,
|
|
handle, callback, flags)) != 0)
|
|
err_ret = ret;
|
|
if ((ret = __memp_fput(mpf, subpg, 0)) != 0)
|
|
err_ret = ret;
|
|
}
|
|
|
|
if (ret != DB_NOTFOUND)
|
|
goto err;
|
|
|
|
if ((ret = __db_c_close(pgsc)) != 0)
|
|
goto err;
|
|
if ((ret = __db_prfooter(handle, callback)) != 0)
|
|
goto err;
|
|
}
|
|
err: if (subdbname)
|
|
__os_free(dbenv, subdbname);
|
|
|
|
if ((t_ret = __db_close(pgset, NULL, 0)) != 0)
|
|
ret = t_ret;
|
|
|
|
if ((t_ret = __db_salvage_markdone(vdp, PGNO(master))) != 0)
|
|
return (t_ret);
|
|
|
|
return ((err_ret != 0) ? err_ret : ret);
|
|
}
|
|
|
|
/*
|
|
* __db_meta2pgset --
|
|
* Given a known-safe meta page number, return the set of pages
|
|
* corresponding to the database it represents. Return DB_VERIFY_BAD if
|
|
* it's not a suitable meta page or is invalid.
|
|
*/
|
|
static int
|
|
__db_meta2pgset(dbp, vdp, pgno, flags, pgset)
|
|
DB *dbp;
|
|
VRFY_DBINFO *vdp;
|
|
db_pgno_t pgno;
|
|
u_int32_t flags;
|
|
DB *pgset;
|
|
{
|
|
DB_MPOOLFILE *mpf;
|
|
PAGE *h;
|
|
int ret, t_ret;
|
|
|
|
mpf = dbp->mpf;
|
|
|
|
if ((ret = __memp_fget(mpf, &pgno, 0, &h)) != 0)
|
|
return (ret);
|
|
|
|
switch (TYPE(h)) {
|
|
case P_BTREEMETA:
|
|
ret = __bam_meta2pgset(dbp, vdp, (BTMETA *)h, flags, pgset);
|
|
break;
|
|
case P_HASHMETA:
|
|
ret = __ham_meta2pgset(dbp, vdp, (HMETA *)h, flags, pgset);
|
|
break;
|
|
default:
|
|
ret = DB_VERIFY_BAD;
|
|
break;
|
|
}
|
|
|
|
if ((t_ret = __memp_fput(mpf, h, 0)) != 0)
|
|
return (t_ret);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_guesspgsize --
|
|
* Try to guess what the pagesize is if the one on the meta page
|
|
* and the one in the db are invalid.
|
|
*/
|
|
static u_int
|
|
__db_guesspgsize(dbenv, fhp)
|
|
DB_ENV *dbenv;
|
|
DB_FH *fhp;
|
|
{
|
|
db_pgno_t i;
|
|
size_t nr;
|
|
u_int32_t guess;
|
|
u_int8_t type;
|
|
|
|
for (guess = DB_MAX_PGSIZE; guess >= DB_MIN_PGSIZE; guess >>= 1) {
|
|
/*
|
|
* We try to read three pages ahead after the first one
|
|
* and make sure we have plausible types for all of them.
|
|
* If the seeks fail, continue with a smaller size;
|
|
* we're probably just looking past the end of the database.
|
|
* If they succeed and the types are reasonable, also continue
|
|
* with a size smaller; we may be looking at pages N,
|
|
* 2N, and 3N for some N > 1.
|
|
*
|
|
* As soon as we hit an invalid type, we stop and return
|
|
* our previous guess; that last one was probably the page size.
|
|
*/
|
|
for (i = 1; i <= 3; i++) {
|
|
if (__os_seek(dbenv, fhp, guess,
|
|
i, SSZ(DBMETA, type), 0, DB_OS_SEEK_SET) != 0)
|
|
break;
|
|
if (__os_read(dbenv,
|
|
fhp, &type, 1, &nr) != 0 || nr == 0)
|
|
break;
|
|
if (type == P_INVALID || type >= P_PAGETYPE_MAX)
|
|
return (guess << 1);
|
|
}
|
|
}
|
|
|
|
/*
|
|
* If we're just totally confused--the corruption takes up most of the
|
|
* beginning pages of the database--go with the default size.
|
|
*/
|
|
return (DB_DEF_IOSIZE);
|
|
}
|