mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 23:34:34 +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
2438 lines
55 KiB
C
2438 lines
55 KiB
C
/*-
|
|
* See the file LICENSE for redistribution information.
|
|
*
|
|
* Copyright (c) 1996-2005
|
|
* Sleepycat Software. All rights reserved.
|
|
*
|
|
* $Id: db_iface.c,v 12.29 2005/11/08 14:49:44 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/btree.h"
|
|
#ifndef HAVE_HASH
|
|
#include "dbinc/hash.h" /* For __db_no_hash_am(). */
|
|
#endif
|
|
#ifndef HAVE_QUEUE
|
|
#include "dbinc/qam.h" /* For __db_no_queue_am(). */
|
|
#endif
|
|
#include "dbinc/lock.h"
|
|
#include "dbinc/log.h"
|
|
#include "dbinc/mp.h"
|
|
#include "dbinc/txn.h"
|
|
|
|
static int __db_associate_arg __P((DB *, DB *,
|
|
int (*)(DB *, const DBT *, const DBT *, DBT *), u_int32_t));
|
|
static int __db_c_del_arg __P((DBC *, u_int32_t));
|
|
static int __db_c_get_arg __P((DBC *, DBT *, DBT *, u_int32_t));
|
|
static int __db_c_pget_arg __P((DBC *, DBT *, u_int32_t));
|
|
static int __db_c_put_arg __P((DBC *, DBT *, DBT *, u_int32_t));
|
|
static int __db_curinval __P((const DB_ENV *));
|
|
static int __db_cursor_arg __P((DB *, u_int32_t));
|
|
static int __db_del_arg __P((DB *, u_int32_t));
|
|
static int __db_get_arg __P((const DB *, const DBT *, DBT *, u_int32_t));
|
|
static int __db_join_arg __P((DB *, DBC **, u_int32_t));
|
|
static int __db_open_arg __P((DB *,
|
|
DB_TXN *, const char *, const char *, DBTYPE, u_int32_t));
|
|
static int __db_pget_arg __P((DB *, DBT *, u_int32_t));
|
|
static int __db_put_arg __P((DB *, DBT *, DBT *, u_int32_t));
|
|
static int __dbt_ferr __P((const DB *, const char *, const DBT *, int));
|
|
|
|
/*
|
|
* These functions implement the Berkeley DB API. They are organized in a
|
|
* layered fashion. The interface functions (XXX_pp) perform all generic
|
|
* error checks (for example, PANIC'd region, replication state change
|
|
* in progress, inconsistent transaction usage), call function-specific
|
|
* check routines (_arg) to check for proper flag usage, etc., do pre-amble
|
|
* processing (incrementing handle counts, handling local transactions),
|
|
* call the function and then do post-amble processing (local transactions,
|
|
* decrement handle counts).
|
|
*
|
|
* The basic structure is:
|
|
* Check for simple/generic errors (PANIC'd region)
|
|
* Check if replication is changing state (increment handle count).
|
|
* Call function-specific argument checking routine
|
|
* Create internal transaction if necessary
|
|
* Call underlying worker function
|
|
* Commit/abort internal transaction if necessary
|
|
* Decrement handle count
|
|
*/
|
|
|
|
/*
|
|
* __db_associate_pp --
|
|
* DB->associate pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_associate_pp __P((DB *, DB_TXN *, DB *,
|
|
* PUBLIC: int (*)(DB *, const DBT *, const DBT *, DBT *), u_int32_t));
|
|
*/
|
|
int
|
|
__db_associate_pp(dbp, txn, sdbp, callback, flags)
|
|
DB *dbp, *sdbp;
|
|
DB_TXN *txn;
|
|
int (*callback) __P((DB *, const DBT *, const DBT *, DBT *));
|
|
u_int32_t flags;
|
|
{
|
|
DBC *sdbc;
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int handle_check, ret, t_ret, txn_local;
|
|
|
|
dbenv = dbp->dbenv;
|
|
txn_local = 0;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
STRIP_AUTO_COMMIT(flags);
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check &&
|
|
(ret = __db_rep_enter(dbp, 1, 0, txn != NULL)) != 0) {
|
|
handle_check = 0;
|
|
goto err;
|
|
}
|
|
|
|
/*
|
|
* Secondary cursors may have the primary's lock file ID, so we need
|
|
* to make sure that no older cursors are lying around when we make
|
|
* the transition.
|
|
*/
|
|
if (TAILQ_FIRST(&sdbp->active_queue) != NULL ||
|
|
TAILQ_FIRST(&sdbp->join_queue) != NULL) {
|
|
__db_err(dbenv,
|
|
"Databases may not become secondary indices while cursors are open");
|
|
ret = EINVAL;
|
|
goto err;
|
|
}
|
|
|
|
if ((ret = __db_associate_arg(dbp, sdbp, callback, flags)) != 0)
|
|
goto err;
|
|
|
|
/*
|
|
* Create a local transaction as necessary, check for consistent
|
|
* transaction usage, and, if we have no transaction but do have
|
|
* locking on, acquire a locker id for the handle lock acquisition.
|
|
*/
|
|
if (IS_DB_AUTO_COMMIT(dbp, txn)) {
|
|
if ((ret = __txn_begin(dbenv, NULL, &txn, 0)) != 0)
|
|
goto err;
|
|
txn_local = 1;
|
|
}
|
|
|
|
/* Check for consistent transaction usage. */
|
|
if ((ret = __db_check_txn(dbp, txn, DB_LOCK_INVALIDID, 0)) != 0)
|
|
goto err;
|
|
|
|
while ((sdbc = TAILQ_FIRST(&sdbp->free_queue)) != NULL)
|
|
if ((ret = __db_c_destroy(sdbc)) != 0)
|
|
goto err;
|
|
|
|
ret = __db_associate(dbp, txn, sdbp, callback, flags);
|
|
|
|
err: if (txn_local &&
|
|
(t_ret = __db_txn_auto_resolve(dbenv, txn, 0, ret)) && ret == 0)
|
|
ret = t_ret;
|
|
|
|
/* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_associate_arg --
|
|
* Check DB->associate arguments.
|
|
*/
|
|
static int
|
|
__db_associate_arg(dbp, sdbp, callback, flags)
|
|
DB *dbp, *sdbp;
|
|
int (*callback) __P((DB *, const DBT *, const DBT *, DBT *));
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
int ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
if (F_ISSET(sdbp, DB_AM_SECONDARY)) {
|
|
__db_err(dbenv,
|
|
"Secondary index handles may not be re-associated");
|
|
return (EINVAL);
|
|
}
|
|
if (F_ISSET(dbp, DB_AM_SECONDARY)) {
|
|
__db_err(dbenv,
|
|
"Secondary indices may not be used as primary databases");
|
|
return (EINVAL);
|
|
}
|
|
if (F_ISSET(dbp, DB_AM_DUP)) {
|
|
__db_err(dbenv,
|
|
"Primary databases may not be configured with duplicates");
|
|
return (EINVAL);
|
|
}
|
|
if (F_ISSET(dbp, DB_AM_RENUMBER)) {
|
|
__db_err(dbenv,
|
|
"Renumbering recno databases may not be used as primary databases");
|
|
return (EINVAL);
|
|
}
|
|
if (dbp->dbenv != sdbp->dbenv &&
|
|
(!F_ISSET(dbp->dbenv, DB_ENV_DBLOCAL) ||
|
|
!F_ISSET(sdbp->dbenv, DB_ENV_DBLOCAL))) {
|
|
__db_err(dbenv,
|
|
"The primary and secondary must be opened in the same environment");
|
|
return (EINVAL);
|
|
}
|
|
if ((DB_IS_THREADED(dbp) && !DB_IS_THREADED(sdbp)) ||
|
|
(!DB_IS_THREADED(dbp) && DB_IS_THREADED(sdbp))) {
|
|
__db_err(dbenv,
|
|
"The DB_THREAD setting must be the same for primary and secondary");
|
|
return (EINVAL);
|
|
}
|
|
if (callback == NULL &&
|
|
(!F_ISSET(dbp, DB_AM_RDONLY) || !F_ISSET(sdbp, DB_AM_RDONLY))) {
|
|
__db_err(dbenv,
|
|
"Callback function may be NULL only when database handles are read-only");
|
|
return (EINVAL);
|
|
}
|
|
|
|
if ((ret = __db_fchk(dbenv, "DB->associate", flags, DB_CREATE |
|
|
DB_IMMUTABLE_KEY)) != 0)
|
|
return (ret);
|
|
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_close_pp --
|
|
* DB->close pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_close_pp __P((DB *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_close_pp(dbp, flags)
|
|
DB *dbp;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int handle_check, ret, t_ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
ret = 0;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
|
|
/*
|
|
* Close a DB handle -- as a handle destructor, we can't fail.
|
|
*
|
|
* !!!
|
|
* The actual argument checking is simple, do it inline, outside of
|
|
* the replication block.
|
|
*/
|
|
if (flags != 0 && flags != DB_NOSYNC)
|
|
ret = __db_ferr(dbenv, "DB->close", 0);
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check && (t_ret = __db_rep_enter(dbp, 0, 0, 0)) != 0) {
|
|
handle_check = 0;
|
|
if (ret == 0)
|
|
ret = t_ret;
|
|
}
|
|
|
|
if ((t_ret = __db_close(dbp, NULL, flags)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
/* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_cursor_pp --
|
|
* DB->cursor pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_cursor_pp __P((DB *, DB_TXN *, DBC **, u_int32_t));
|
|
*/
|
|
int
|
|
__db_cursor_pp(dbp, txn, dbcp, flags)
|
|
DB *dbp;
|
|
DB_TXN *txn;
|
|
DBC **dbcp;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int handle_check, ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
DB_ILLEGAL_BEFORE_OPEN(dbp, "DB->cursor");
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
if (txn == NULL) {
|
|
handle_check = IS_ENV_REPLICATED(dbenv) ? 1 : 0;
|
|
if (handle_check && (ret = __op_rep_enter(dbenv)) != 0) {
|
|
handle_check = 0;
|
|
goto err;
|
|
}
|
|
} else
|
|
handle_check = 0;
|
|
if ((ret = __db_cursor_arg(dbp, flags)) != 0)
|
|
goto err;
|
|
|
|
/*
|
|
* Check for consistent transaction usage. For now, assume this
|
|
* cursor might be used for read operations only (in which case
|
|
* it may not require a txn). We'll check more stringently in
|
|
* c_del and c_put. (Note this means the read-op txn tests have
|
|
* to be a subset of the write-op ones.)
|
|
*/
|
|
if ((ret = __db_check_txn(dbp, txn, DB_LOCK_INVALIDID, 1)) != 0)
|
|
goto err;
|
|
|
|
ret = __db_cursor(dbp, txn, dbcp, flags);
|
|
|
|
err: /* Release replication block on error. */
|
|
if (ret != 0 && handle_check)
|
|
(void)__op_rep_exit(dbenv);
|
|
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_cursor --
|
|
* DB->cursor.
|
|
*
|
|
* PUBLIC: int __db_cursor __P((DB *, DB_TXN *, DBC **, u_int32_t));
|
|
*/
|
|
int
|
|
__db_cursor(dbp, txn, dbcp, flags)
|
|
DB *dbp;
|
|
DB_TXN *txn;
|
|
DBC **dbcp;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DBC *dbc;
|
|
db_lockmode_t mode;
|
|
u_int32_t op;
|
|
int ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
if ((ret = __db_cursor_int(dbp,
|
|
txn, dbp->type, PGNO_INVALID, 0, DB_LOCK_INVALIDID, &dbc)) != 0)
|
|
return (ret);
|
|
|
|
/*
|
|
* If this is CDB, do all the locking in the interface, which is
|
|
* right here.
|
|
*/
|
|
if (CDB_LOCKING(dbenv)) {
|
|
op = LF_ISSET(DB_OPFLAGS_MASK);
|
|
mode = (op == DB_WRITELOCK) ? DB_LOCK_WRITE :
|
|
((op == DB_WRITECURSOR) ? DB_LOCK_IWRITE : DB_LOCK_READ);
|
|
if ((ret = __lock_get(dbenv, dbc->locker, 0,
|
|
&dbc->lock_dbt, mode, &dbc->mylock)) != 0)
|
|
goto err;
|
|
if (op == DB_WRITECURSOR)
|
|
F_SET(dbc, DBC_WRITECURSOR);
|
|
if (op == DB_WRITELOCK)
|
|
F_SET(dbc, DBC_WRITER);
|
|
}
|
|
|
|
if (LF_ISSET(DB_READ_UNCOMMITTED) ||
|
|
(txn != NULL && F_ISSET(txn, TXN_READ_UNCOMMITTED)))
|
|
F_SET(dbc, DBC_READ_UNCOMMITTED);
|
|
|
|
if (LF_ISSET(DB_READ_COMMITTED) ||
|
|
(txn != NULL && F_ISSET(txn, TXN_READ_COMMITTED)))
|
|
F_SET(dbc, DBC_READ_COMMITTED);
|
|
|
|
*dbcp = dbc;
|
|
return (0);
|
|
|
|
err: (void)__db_c_close(dbc);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_cursor_arg --
|
|
* Check DB->cursor arguments.
|
|
*/
|
|
static int
|
|
__db_cursor_arg(dbp, flags)
|
|
DB *dbp;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
/*
|
|
* DB_READ_COMMITTED and DB_READ_UNCOMMITTED are the only valid
|
|
* bit-flags; they require locking.
|
|
*/
|
|
if (LF_ISSET(DB_READ_COMMITTED | DB_READ_UNCOMMITTED)) {
|
|
if (!LOCKING_ON(dbenv))
|
|
return (__db_fnl(dbenv, "DB->cursor"));
|
|
LF_CLR(DB_READ_COMMITTED| DB_READ_UNCOMMITTED);
|
|
}
|
|
|
|
/* Check for invalid function flags. */
|
|
switch (flags) {
|
|
case 0:
|
|
break;
|
|
case DB_WRITECURSOR:
|
|
if (DB_IS_READONLY(dbp))
|
|
return (__db_rdonly(dbenv, "DB->cursor"));
|
|
if (!CDB_LOCKING(dbenv))
|
|
return (__db_ferr(dbenv, "DB->cursor", 0));
|
|
break;
|
|
case DB_WRITELOCK:
|
|
if (DB_IS_READONLY(dbp))
|
|
return (__db_rdonly(dbenv, "DB->cursor"));
|
|
break;
|
|
default:
|
|
return (__db_ferr(dbenv, "DB->cursor", 0));
|
|
}
|
|
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_del_pp --
|
|
* DB->del pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_del_pp __P((DB *, DB_TXN *, DBT *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_del_pp(dbp, txn, key, flags)
|
|
DB *dbp;
|
|
DB_TXN *txn;
|
|
DBT *key;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int handle_check, ret, t_ret, txn_local;
|
|
|
|
dbenv = dbp->dbenv;
|
|
txn_local = 0;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
STRIP_AUTO_COMMIT(flags);
|
|
DB_ILLEGAL_BEFORE_OPEN(dbp, "DB->del");
|
|
|
|
#if CONFIG_TEST
|
|
if (IS_REP_MASTER(dbenv))
|
|
DB_TEST_WAIT(dbenv, dbenv->test_check);
|
|
#endif
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check &&
|
|
(ret = __db_rep_enter(dbp, 1, 0, txn != NULL)) != 0) {
|
|
handle_check = 0;
|
|
goto err;
|
|
}
|
|
|
|
if ((ret = __db_del_arg(dbp, flags)) != 0)
|
|
goto err;
|
|
|
|
/* Create local transaction as necessary. */
|
|
if (IS_DB_AUTO_COMMIT(dbp, txn)) {
|
|
if ((ret = __txn_begin(dbenv, NULL, &txn, 0)) != 0)
|
|
goto err;
|
|
txn_local = 1;
|
|
}
|
|
|
|
/* Check for consistent transaction usage. */
|
|
if ((ret = __db_check_txn(dbp, txn, DB_LOCK_INVALIDID, 0)) != 0)
|
|
goto err;
|
|
|
|
ret = __db_del(dbp, txn, key, flags);
|
|
|
|
err: if (txn_local &&
|
|
(t_ret = __db_txn_auto_resolve(dbenv, txn, 0, ret)) && ret == 0)
|
|
ret = t_ret;
|
|
|
|
/* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_del_arg --
|
|
* Check DB->delete arguments.
|
|
*/
|
|
static int
|
|
__db_del_arg(dbp, flags)
|
|
DB *dbp;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
/* Check for changes to a read-only tree. */
|
|
if (DB_IS_READONLY(dbp))
|
|
return (__db_rdonly(dbenv, "DB->del"));
|
|
|
|
/* Check for invalid function flags. */
|
|
switch (flags) {
|
|
case 0:
|
|
break;
|
|
default:
|
|
return (__db_ferr(dbenv, "DB->del", 0));
|
|
}
|
|
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* db_fd_pp --
|
|
* DB->fd pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_fd_pp __P((DB *, int *));
|
|
*/
|
|
int
|
|
__db_fd_pp(dbp, fdp)
|
|
DB *dbp;
|
|
int *fdp;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
DB_FH *fhp;
|
|
int handle_check, ret, t_ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
DB_ILLEGAL_BEFORE_OPEN(dbp, "DB->fd");
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check && (ret = __db_rep_enter(dbp, 1, 0, 0)) != 0)
|
|
goto err;
|
|
|
|
/*
|
|
* !!!
|
|
* There's no argument checking to be done.
|
|
*
|
|
* !!!
|
|
* The actual method call is simple, do it inline.
|
|
*
|
|
* XXX
|
|
* Truly spectacular layering violation.
|
|
*/
|
|
if ((ret = __mp_xxx_fh(dbp->mpf, &fhp)) == 0) {
|
|
if (fhp == NULL) {
|
|
*fdp = -1;
|
|
__db_err(dbenv,
|
|
"Database does not have a valid file handle");
|
|
ret = ENOENT;
|
|
} else
|
|
*fdp = fhp->fd;
|
|
}
|
|
|
|
/* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
err: ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_get_pp --
|
|
* DB->get pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_get_pp __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_get_pp(dbp, txn, key, data, flags)
|
|
DB *dbp;
|
|
DB_TXN *txn;
|
|
DBT *key, *data;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
u_int32_t mode;
|
|
int handle_check, ret, t_ret, txn_local;
|
|
|
|
dbenv = dbp->dbenv;
|
|
mode = 0;
|
|
txn_local = 0;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
STRIP_AUTO_COMMIT(flags);
|
|
DB_ILLEGAL_BEFORE_OPEN(dbp, "DB->get");
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check &&
|
|
(ret = __db_rep_enter(dbp, 1, 0, txn != NULL)) != 0) {
|
|
handle_check = 0;
|
|
goto err;
|
|
}
|
|
|
|
if ((ret = __db_get_arg(dbp, key, data, flags)) != 0)
|
|
goto err;
|
|
|
|
if (LF_ISSET(DB_READ_UNCOMMITTED))
|
|
mode = DB_READ_UNCOMMITTED;
|
|
else if ((flags & DB_OPFLAGS_MASK) == DB_CONSUME ||
|
|
(flags & DB_OPFLAGS_MASK) == DB_CONSUME_WAIT) {
|
|
mode = DB_WRITELOCK;
|
|
if (IS_DB_AUTO_COMMIT(dbp, txn)) {
|
|
if ((ret = __txn_begin(dbenv, NULL, &txn, 0)) != 0)
|
|
goto err;
|
|
txn_local = 1;
|
|
}
|
|
}
|
|
|
|
/* Check for consistent transaction usage. */
|
|
if ((ret = __db_check_txn(dbp, txn, DB_LOCK_INVALIDID,
|
|
mode == DB_WRITELOCK || LF_ISSET(DB_RMW) ? 0 : 1)) != 0)
|
|
goto err;
|
|
|
|
ret = __db_get(dbp, txn, key, data, flags);
|
|
|
|
err: if (txn_local &&
|
|
(t_ret = __db_txn_auto_resolve(dbenv, txn, 0, ret)) && ret == 0)
|
|
ret = t_ret;
|
|
|
|
/* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_get --
|
|
* DB->get.
|
|
*
|
|
* PUBLIC: int __db_get __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_get(dbp, txn, key, data, flags)
|
|
DB *dbp;
|
|
DB_TXN *txn;
|
|
DBT *key, *data;
|
|
u_int32_t flags;
|
|
{
|
|
DBC *dbc;
|
|
u_int32_t mode;
|
|
int ret, t_ret;
|
|
|
|
mode = 0;
|
|
if (LF_ISSET(DB_READ_UNCOMMITTED)) {
|
|
mode = DB_READ_UNCOMMITTED;
|
|
LF_CLR(DB_READ_UNCOMMITTED);
|
|
} else if (LF_ISSET(DB_READ_COMMITTED)) {
|
|
mode = DB_READ_COMMITTED;
|
|
LF_CLR(DB_READ_COMMITTED);
|
|
} else if ((flags & DB_OPFLAGS_MASK) == DB_CONSUME ||
|
|
(flags & DB_OPFLAGS_MASK) == DB_CONSUME_WAIT)
|
|
mode = DB_WRITELOCK;
|
|
|
|
if ((ret = __db_cursor(dbp, txn, &dbc, mode)) != 0)
|
|
return (ret);
|
|
|
|
DEBUG_LREAD(dbc, txn, "DB->get", key, NULL, flags);
|
|
|
|
/*
|
|
* The DBC_TRANSIENT flag indicates that we're just doing a
|
|
* single operation with this cursor, and that in case of
|
|
* error we don't need to restore it to its old position--we're
|
|
* going to close it right away. Thus, we can perform the get
|
|
* without duplicating the cursor, saving some cycles in this
|
|
* common case.
|
|
*/
|
|
F_SET(dbc, DBC_TRANSIENT);
|
|
|
|
/*
|
|
* SET_RET_MEM indicates that if key and/or data have no DBT
|
|
* flags set and DB manages the returned-data memory, that memory
|
|
* will belong to this handle, not to the underlying cursor.
|
|
*/
|
|
SET_RET_MEM(dbc, dbp);
|
|
|
|
if (LF_ISSET(~(DB_RMW | DB_MULTIPLE)) == 0)
|
|
LF_SET(DB_SET);
|
|
|
|
ret = __db_c_get(dbc, key, data, flags);
|
|
|
|
if (dbc != NULL && (t_ret = __db_c_close(dbc)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_get_arg --
|
|
* DB->get argument checking, used by both DB->get and DB->pget.
|
|
*/
|
|
static int
|
|
__db_get_arg(dbp, key, data, flags)
|
|
const DB *dbp;
|
|
const DBT *key;
|
|
DBT *data;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
int check_thread, dirty, multi, ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
/*
|
|
* Check for read-modify-write validity. DB_RMW doesn't make sense
|
|
* with CDB cursors since if you're going to write the cursor, you
|
|
* had to create it with DB_WRITECURSOR. Regardless, we check for
|
|
* LOCKING_ON and not STD_LOCKING, as we don't want to disallow it.
|
|
* If this changes, confirm that DB does not itself set the DB_RMW
|
|
* flag in a path where CDB may have been configured.
|
|
*/
|
|
check_thread = dirty = 0;
|
|
if (LF_ISSET(DB_READ_COMMITTED | DB_READ_UNCOMMITTED | DB_RMW)) {
|
|
if (!LOCKING_ON(dbenv))
|
|
return (__db_fnl(dbenv, "DB->get"));
|
|
if ((ret = __db_fcchk(dbenv, "DB->get",
|
|
flags, DB_READ_UNCOMMITTED, DB_READ_COMMITTED)) != 0)
|
|
return (ret);
|
|
if (LF_ISSET(DB_READ_COMMITTED | DB_READ_UNCOMMITTED))
|
|
dirty = 1;
|
|
LF_CLR(DB_READ_COMMITTED | DB_READ_UNCOMMITTED | DB_RMW);
|
|
}
|
|
|
|
multi = 0;
|
|
if (LF_ISSET(DB_MULTIPLE | DB_MULTIPLE_KEY)) {
|
|
if (LF_ISSET(DB_MULTIPLE_KEY))
|
|
goto multi_err;
|
|
multi = LF_ISSET(DB_MULTIPLE) ? 1 : 0;
|
|
LF_CLR(DB_MULTIPLE);
|
|
}
|
|
|
|
/* Check for invalid function flags. */
|
|
switch (flags) {
|
|
case 0:
|
|
case DB_GET_BOTH:
|
|
break;
|
|
case DB_SET_RECNO:
|
|
check_thread = 1;
|
|
if (!F_ISSET(dbp, DB_AM_RECNUM))
|
|
goto err;
|
|
break;
|
|
case DB_CONSUME:
|
|
case DB_CONSUME_WAIT:
|
|
check_thread = 1;
|
|
if (dirty) {
|
|
__db_err(dbenv,
|
|
"%s is not supported with DB_CONSUME or DB_CONSUME_WAIT",
|
|
LF_ISSET(DB_READ_UNCOMMITTED) ?
|
|
"DB_READ_UNCOMMITTED" : "DB_READ_COMMITTED");
|
|
return (EINVAL);
|
|
}
|
|
if (multi)
|
|
multi_err: return (__db_ferr(dbenv, "DB->get", 1));
|
|
if (dbp->type == DB_QUEUE)
|
|
break;
|
|
/* FALLTHROUGH */
|
|
default:
|
|
err: return (__db_ferr(dbenv, "DB->get", 0));
|
|
}
|
|
|
|
/*
|
|
* Check for invalid key/data flags.
|
|
*
|
|
* XXX: Dave Krinsky
|
|
* Remember to modify this when we fix the flag-returning problem.
|
|
*/
|
|
if ((ret = __dbt_ferr(dbp, "key", key, check_thread)) != 0)
|
|
return (ret);
|
|
if ((ret = __dbt_ferr(dbp, "data", data, 1)) != 0)
|
|
return (ret);
|
|
|
|
if (multi) {
|
|
if (!F_ISSET(data, DB_DBT_USERMEM)) {
|
|
__db_err(dbenv,
|
|
"DB_MULTIPLE requires DB_DBT_USERMEM be set");
|
|
return (EINVAL);
|
|
}
|
|
if (F_ISSET(key, DB_DBT_PARTIAL) ||
|
|
F_ISSET(data, DB_DBT_PARTIAL)) {
|
|
__db_err(dbenv,
|
|
"DB_MULTIPLE does not support DB_DBT_PARTIAL");
|
|
return (EINVAL);
|
|
}
|
|
if (data->ulen < 1024 ||
|
|
data->ulen < dbp->pgsize || data->ulen % 1024 != 0) {
|
|
__db_err(dbenv, "%s%s",
|
|
"DB_MULTIPLE buffers must be ",
|
|
"aligned, at least page size and multiples of 1KB");
|
|
return (EINVAL);
|
|
}
|
|
}
|
|
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_join_pp --
|
|
* DB->join pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_join_pp __P((DB *, DBC **, DBC **, u_int32_t));
|
|
*/
|
|
int
|
|
__db_join_pp(primary, curslist, dbcp, flags)
|
|
DB *primary;
|
|
DBC **curslist, **dbcp;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int handle_check, ret, t_ret;
|
|
|
|
dbenv = primary->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check && (ret =
|
|
__db_rep_enter(primary, 1, 0, curslist[0]->txn != NULL)) != 0) {
|
|
handle_check = 0;
|
|
goto err;
|
|
}
|
|
|
|
if ((ret = __db_join_arg(primary, curslist, flags)) == 0)
|
|
ret = __db_join(primary, curslist, dbcp, flags);
|
|
|
|
/* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
err: ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_join_arg --
|
|
* Check DB->join arguments.
|
|
*/
|
|
static int
|
|
__db_join_arg(primary, curslist, flags)
|
|
DB *primary;
|
|
DBC **curslist;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_TXN *txn;
|
|
int i;
|
|
|
|
dbenv = primary->dbenv;
|
|
|
|
switch (flags) {
|
|
case 0:
|
|
case DB_JOIN_NOSORT:
|
|
break;
|
|
default:
|
|
return (__db_ferr(dbenv, "DB->join", 0));
|
|
}
|
|
|
|
if (curslist == NULL || curslist[0] == NULL) {
|
|
__db_err(dbenv,
|
|
"At least one secondary cursor must be specified to DB->join");
|
|
return (EINVAL);
|
|
}
|
|
|
|
txn = curslist[0]->txn;
|
|
for (i = 1; curslist[i] != NULL; i++)
|
|
if (curslist[i]->txn != txn) {
|
|
__db_err(dbenv,
|
|
"All secondary cursors must share the same transaction");
|
|
return (EINVAL);
|
|
}
|
|
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_key_range_pp --
|
|
* DB->key_range pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_key_range_pp
|
|
* PUBLIC: __P((DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_key_range_pp(dbp, txn, key, kr, flags)
|
|
DB *dbp;
|
|
DB_TXN *txn;
|
|
DBT *key;
|
|
DB_KEY_RANGE *kr;
|
|
u_int32_t flags;
|
|
{
|
|
DBC *dbc;
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int handle_check, ret, t_ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbp->dbenv);
|
|
DB_ILLEGAL_BEFORE_OPEN(dbp, "DB->key_range");
|
|
|
|
/*
|
|
* !!!
|
|
* The actual argument checking is simple, do it inline, outside of
|
|
* the replication block.
|
|
*/
|
|
if (flags != 0)
|
|
return (__db_ferr(dbenv, "DB->key_range", 0));
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check &&
|
|
(ret = __db_rep_enter(dbp, 1, 0, txn != NULL)) != 0) {
|
|
handle_check = 0;
|
|
goto err;
|
|
}
|
|
|
|
/* Check for consistent transaction usage. */
|
|
if ((ret = __db_check_txn(dbp, txn, DB_LOCK_INVALIDID, 1)) != 0)
|
|
goto err;
|
|
|
|
/*
|
|
* !!!
|
|
* The actual method call is simple, do it inline.
|
|
*/
|
|
switch (dbp->type) {
|
|
case DB_BTREE:
|
|
/* Acquire a cursor. */
|
|
if ((ret = __db_cursor(dbp, txn, &dbc, 0)) != 0)
|
|
break;
|
|
|
|
DEBUG_LWRITE(dbc, NULL, "bam_key_range", NULL, NULL, 0);
|
|
|
|
ret = __bam_key_range(dbc, key, kr, flags);
|
|
|
|
if ((t_ret = __db_c_close(dbc)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
break;
|
|
case DB_HASH:
|
|
case DB_QUEUE:
|
|
case DB_RECNO:
|
|
ret = __dbh_am_chk(dbp, DB_OK_BTREE);
|
|
break;
|
|
case DB_UNKNOWN:
|
|
default:
|
|
ret = __db_unknown_type(dbenv, "DB->key_range", dbp->type);
|
|
break;
|
|
}
|
|
|
|
err: /* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_open_pp --
|
|
* DB->open pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_open_pp __P((DB *, DB_TXN *,
|
|
* PUBLIC: const char *, const char *, DBTYPE, u_int32_t, int));
|
|
*/
|
|
int
|
|
__db_open_pp(dbp, txn, fname, dname, type, flags, mode)
|
|
DB *dbp;
|
|
DB_TXN *txn;
|
|
const char *fname, *dname;
|
|
DBTYPE type;
|
|
u_int32_t flags;
|
|
int mode;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int handle_check, nosync, remove_me, ret, t_ret, txn_local;
|
|
|
|
dbenv = dbp->dbenv;
|
|
nosync = 1;
|
|
remove_me = txn_local = 0;
|
|
handle_check = 0;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/*
|
|
* Save the file and database names and flags. We do this here
|
|
* because we don't pass all of the flags down into the actual
|
|
* DB->open method call, we strip DB_AUTO_COMMIT at this layer.
|
|
*/
|
|
if ((fname != NULL &&
|
|
(ret = __os_strdup(dbenv, fname, &dbp->fname)) != 0))
|
|
goto err;
|
|
if ((dname != NULL &&
|
|
(ret = __os_strdup(dbenv, dname, &dbp->dname)) != 0))
|
|
goto err;
|
|
dbp->open_flags = flags;
|
|
|
|
/* Save the current DB handle flags for refresh. */
|
|
dbp->orig_flags = dbp->flags;
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check &&
|
|
(ret = __db_rep_enter(dbp, 1, 0, txn != NULL)) != 0) {
|
|
handle_check = 0;
|
|
goto err;
|
|
}
|
|
|
|
/*
|
|
* Create local transaction as necessary, check for consistent
|
|
* transaction usage.
|
|
*/
|
|
if (IS_ENV_AUTO_COMMIT(dbenv, txn, flags)) {
|
|
if ((ret = __db_txn_auto_init(dbenv, &txn)) != 0)
|
|
goto err;
|
|
txn_local = 1;
|
|
} else
|
|
if (txn != NULL && !TXN_ON(dbenv)) {
|
|
ret = __db_not_txn_env(dbenv);
|
|
goto err;
|
|
}
|
|
LF_CLR(DB_AUTO_COMMIT);
|
|
|
|
/*
|
|
* We check arguments after possibly creating a local transaction,
|
|
* which is unusual -- the reason is some flags are illegal if any
|
|
* kind of transaction is in effect.
|
|
*/
|
|
if ((ret = __db_open_arg(dbp, txn, fname, dname, type, flags)) == 0)
|
|
if ((ret = __db_open(dbp, txn, fname, dname, type,
|
|
flags, mode, PGNO_BASE_MD)) != 0)
|
|
goto txnerr;
|
|
|
|
/*
|
|
* You can open the database that describes the subdatabases in the
|
|
* rest of the file read-only. The content of each key's data is
|
|
* unspecified and applications should never be adding new records
|
|
* or updating existing records. However, during recovery, we need
|
|
* to open these databases R/W so we can redo/undo changes in them.
|
|
* Likewise, we need to open master databases read/write during
|
|
* rename and remove so we can be sure they're fully sync'ed, so
|
|
* we provide an override flag for the purpose.
|
|
*/
|
|
if (dname == NULL && !IS_RECOVERING(dbenv) && !LF_ISSET(DB_RDONLY) &&
|
|
!LF_ISSET(DB_RDWRMASTER) && F_ISSET(dbp, DB_AM_SUBDB)) {
|
|
__db_err(dbenv,
|
|
"files containing multiple databases may only be opened read-only");
|
|
ret = EINVAL;
|
|
goto txnerr;
|
|
}
|
|
|
|
/*
|
|
* Success: file creations have to be synchronous, otherwise we don't
|
|
* care.
|
|
*/
|
|
if (F_ISSET(dbp, DB_AM_CREATED | DB_AM_CREATED_MSTR))
|
|
nosync = 0;
|
|
|
|
/* Success: don't discard the file on close. */
|
|
F_CLR(dbp, DB_AM_DISCARD | DB_AM_CREATED | DB_AM_CREATED_MSTR);
|
|
|
|
/*
|
|
* If not transactional, remove the databases/subdatabases. If we're
|
|
* transactional, the child transaction abort cleans up.
|
|
*/
|
|
txnerr: if (ret != 0 && txn == NULL) {
|
|
remove_me = F_ISSET(dbp, DB_AM_CREATED);
|
|
if (F_ISSET(dbp, DB_AM_CREATED_MSTR) ||
|
|
(dname == NULL && remove_me))
|
|
/* Remove file. */
|
|
(void)__db_remove_int(dbp, txn, fname, NULL, DB_FORCE);
|
|
else if (remove_me)
|
|
/* Remove subdatabase. */
|
|
(void)__db_remove_int(dbp, txn, fname, dname, DB_FORCE);
|
|
}
|
|
|
|
if (txn_local && (t_ret =
|
|
__db_txn_auto_resolve(dbenv, txn, nosync, ret)) && ret == 0)
|
|
ret = t_ret;
|
|
|
|
err: /* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_open_arg --
|
|
* Check DB->open arguments.
|
|
*/
|
|
static int
|
|
__db_open_arg(dbp, txn, fname, dname, type, flags)
|
|
DB *dbp;
|
|
DB_TXN *txn;
|
|
const char *fname, *dname;
|
|
DBTYPE type;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
u_int32_t ok_flags;
|
|
int ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
/* Validate arguments. */
|
|
#undef OKFLAGS
|
|
#define OKFLAGS \
|
|
(DB_AUTO_COMMIT | DB_CREATE | DB_EXCL | DB_FCNTL_LOCKING | \
|
|
DB_NOMMAP | DB_NO_AUTO_COMMIT | DB_RDONLY | DB_RDWRMASTER | \
|
|
DB_READ_UNCOMMITTED | DB_THREAD | DB_TRUNCATE | DB_WRITEOPEN)
|
|
if ((ret = __db_fchk(dbenv, "DB->open", flags, OKFLAGS)) != 0)
|
|
return (ret);
|
|
if (LF_ISSET(DB_EXCL) && !LF_ISSET(DB_CREATE))
|
|
return (__db_ferr(dbenv, "DB->open", 1));
|
|
if (LF_ISSET(DB_RDONLY) && LF_ISSET(DB_CREATE))
|
|
return (__db_ferr(dbenv, "DB->open", 1));
|
|
|
|
#ifdef HAVE_VXWORKS
|
|
if (LF_ISSET(DB_TRUNCATE)) {
|
|
__db_err(dbenv, "DB_TRUNCATE not supported on VxWorks");
|
|
return (DB_OPNOTSUP);
|
|
}
|
|
#endif
|
|
switch (type) {
|
|
case DB_UNKNOWN:
|
|
if (LF_ISSET(DB_CREATE|DB_TRUNCATE)) {
|
|
__db_err(dbenv,
|
|
"DB_UNKNOWN type specified with DB_CREATE or DB_TRUNCATE");
|
|
return (EINVAL);
|
|
}
|
|
ok_flags = 0;
|
|
break;
|
|
case DB_BTREE:
|
|
ok_flags = DB_OK_BTREE;
|
|
break;
|
|
case DB_HASH:
|
|
#ifndef HAVE_HASH
|
|
return (__db_no_hash_am(dbenv));
|
|
#endif
|
|
ok_flags = DB_OK_HASH;
|
|
break;
|
|
case DB_QUEUE:
|
|
#ifndef HAVE_QUEUE
|
|
return (__db_no_queue_am(dbenv));
|
|
#endif
|
|
ok_flags = DB_OK_QUEUE;
|
|
break;
|
|
case DB_RECNO:
|
|
ok_flags = DB_OK_RECNO;
|
|
break;
|
|
default:
|
|
__db_err(dbenv, "unknown type: %lu", (u_long)type);
|
|
return (EINVAL);
|
|
}
|
|
if (ok_flags)
|
|
DB_ILLEGAL_METHOD(dbp, ok_flags);
|
|
|
|
/* The environment may have been created, but never opened. */
|
|
if (!F_ISSET(dbenv, DB_ENV_DBLOCAL | DB_ENV_OPEN_CALLED)) {
|
|
__db_err(dbenv, "environment not yet opened");
|
|
return (EINVAL);
|
|
}
|
|
|
|
/*
|
|
* Historically, you could pass in an environment that didn't have a
|
|
* mpool, and DB would create a private one behind the scenes. This
|
|
* no longer works.
|
|
*/
|
|
if (!F_ISSET(dbenv, DB_ENV_DBLOCAL) && !MPOOL_ON(dbenv)) {
|
|
__db_err(dbenv, "environment did not include a memory pool");
|
|
return (EINVAL);
|
|
}
|
|
|
|
/*
|
|
* You can't specify threads during DB->open if subsystems in the
|
|
* environment weren't configured with them.
|
|
*/
|
|
if (LF_ISSET(DB_THREAD) &&
|
|
!F_ISSET(dbenv, DB_ENV_DBLOCAL | DB_ENV_THREAD)) {
|
|
__db_err(dbenv, "environment not created using DB_THREAD");
|
|
return (EINVAL);
|
|
}
|
|
|
|
/* DB_TRUNCATE is neither transaction recoverable nor lockable. */
|
|
if (LF_ISSET(DB_TRUNCATE) && (LOCKING_ON(dbenv) || txn != NULL)) {
|
|
__db_err(dbenv,
|
|
"DB_TRUNCATE illegal with %s specified",
|
|
LOCKING_ON(dbenv) ? "locking" : "transactions");
|
|
return (EINVAL);
|
|
}
|
|
|
|
/* Subdatabase checks. */
|
|
if (dname != NULL) {
|
|
/* QAM can only be done on in-memory subdatabases. */
|
|
if (type == DB_QUEUE && fname != NULL) {
|
|
__db_err(dbenv, "Queue databases must be one-per-file");
|
|
return (EINVAL);
|
|
}
|
|
|
|
/*
|
|
* Named in-memory databases can't support certain flags,
|
|
* so check here.
|
|
*/
|
|
if (fname == NULL)
|
|
F_CLR(dbp, DB_AM_CHKSUM | DB_AM_ENCRYPT);
|
|
}
|
|
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_pget_pp --
|
|
* DB->pget pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_pget_pp
|
|
* PUBLIC: __P((DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_pget_pp(dbp, txn, skey, pkey, data, flags)
|
|
DB *dbp;
|
|
DB_TXN *txn;
|
|
DBT *skey, *pkey, *data;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int handle_check, ret, t_ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
DB_ILLEGAL_BEFORE_OPEN(dbp, "DB->pget");
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check &&
|
|
(ret = __db_rep_enter(dbp, 1, 0, txn != NULL)) != 0) {
|
|
handle_check = 0;
|
|
goto err;
|
|
}
|
|
|
|
if ((ret = __db_pget_arg(dbp, pkey, flags)) != 0 ||
|
|
(ret = __db_get_arg(dbp, skey, data, flags)) != 0)
|
|
goto err;
|
|
|
|
ret = __db_pget(dbp, txn, skey, pkey, data, flags);
|
|
|
|
err: /* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_pget --
|
|
* DB->pget.
|
|
*
|
|
* PUBLIC: int __db_pget
|
|
* PUBLIC: __P((DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_pget(dbp, txn, skey, pkey, data, flags)
|
|
DB *dbp;
|
|
DB_TXN *txn;
|
|
DBT *skey, *pkey, *data;
|
|
u_int32_t flags;
|
|
{
|
|
DBC *dbc;
|
|
u_int32_t mode;
|
|
int ret, t_ret;
|
|
|
|
if (LF_ISSET(DB_READ_UNCOMMITTED)) {
|
|
mode = DB_READ_UNCOMMITTED;
|
|
LF_CLR(DB_READ_UNCOMMITTED);
|
|
} else if (LF_ISSET(DB_READ_COMMITTED)) {
|
|
mode = DB_READ_COMMITTED;
|
|
LF_CLR(DB_READ_COMMITTED);
|
|
} else
|
|
mode = 0;
|
|
|
|
if ((ret = __db_cursor(dbp, txn, &dbc, mode)) != 0)
|
|
return (ret);
|
|
|
|
SET_RET_MEM(dbc, dbp);
|
|
|
|
DEBUG_LREAD(dbc, txn, "__db_pget", skey, NULL, flags);
|
|
|
|
/*
|
|
* !!!
|
|
* The actual method call is simple, do it inline.
|
|
*
|
|
* The underlying cursor pget will fill in a default DBT for null
|
|
* pkeys, and use the cursor's returned-key memory internally to
|
|
* store any intermediate primary keys. However, we've just set
|
|
* the returned-key memory to the DB handle's key memory, which
|
|
* is unsafe to use if the DB handle is threaded. If the pkey
|
|
* argument is NULL, use the DBC-owned returned-key memory
|
|
* instead; it'll go away when we close the cursor before we
|
|
* return, but in this case that's just fine, as we're not
|
|
* returning the primary key.
|
|
*/
|
|
if (pkey == NULL)
|
|
dbc->rkey = &dbc->my_rkey;
|
|
|
|
/*
|
|
* The cursor is just a perfectly ordinary secondary database cursor.
|
|
* Call its c_pget() method to do the dirty work.
|
|
*/
|
|
if (flags == 0 || flags == DB_RMW)
|
|
flags |= DB_SET;
|
|
|
|
ret = __db_c_pget(dbc, skey, pkey, data, flags);
|
|
|
|
if ((t_ret = __db_c_close(dbc)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_pget_arg --
|
|
* Check DB->pget arguments.
|
|
*/
|
|
static int
|
|
__db_pget_arg(dbp, pkey, flags)
|
|
DB *dbp;
|
|
DBT *pkey;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
int ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
if (!F_ISSET(dbp, DB_AM_SECONDARY)) {
|
|
__db_err(dbenv,
|
|
"DB->pget may only be used on secondary indices");
|
|
return (EINVAL);
|
|
}
|
|
|
|
if (LF_ISSET(DB_MULTIPLE | DB_MULTIPLE_KEY)) {
|
|
__db_err(dbenv,
|
|
"DB_MULTIPLE and DB_MULTIPLE_KEY may not be used on secondary indices");
|
|
return (EINVAL);
|
|
}
|
|
|
|
/* DB_CONSUME makes no sense on a secondary index. */
|
|
LF_CLR(DB_READ_COMMITTED | DB_READ_UNCOMMITTED | DB_RMW);
|
|
switch (flags) {
|
|
case DB_CONSUME:
|
|
case DB_CONSUME_WAIT:
|
|
return (__db_ferr(dbenv, "DB->pget", 0));
|
|
default:
|
|
/* __db_get_arg will catch the rest. */
|
|
break;
|
|
}
|
|
|
|
/*
|
|
* We allow the pkey field to be NULL, so that we can make the
|
|
* two-DBT get calls into wrappers for the three-DBT ones.
|
|
*/
|
|
if (pkey != NULL &&
|
|
(ret = __dbt_ferr(dbp, "primary key", pkey, 1)) != 0)
|
|
return (ret);
|
|
|
|
/* But the pkey field can't be NULL if we're doing a DB_GET_BOTH. */
|
|
if (pkey == NULL && flags == DB_GET_BOTH) {
|
|
__db_err(dbenv,
|
|
"DB_GET_BOTH on a secondary index requires a primary key");
|
|
return (EINVAL);
|
|
}
|
|
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_put_pp --
|
|
* DB->put pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_put_pp __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_put_pp(dbp, txn, key, data, flags)
|
|
DB *dbp;
|
|
DB_TXN *txn;
|
|
DBT *key, *data;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int handle_check, ret, txn_local, t_ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
txn_local = 0;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
STRIP_AUTO_COMMIT(flags);
|
|
DB_ILLEGAL_BEFORE_OPEN(dbp, "DB->put");
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check &&
|
|
(ret = __db_rep_enter(dbp, 1, 0, txn != NULL)) != 0) {
|
|
handle_check = 0;
|
|
goto err;
|
|
}
|
|
|
|
if ((ret = __db_put_arg(dbp, key, data, flags)) != 0)
|
|
goto err;
|
|
|
|
/* Create local transaction as necessary. */
|
|
if (IS_DB_AUTO_COMMIT(dbp, txn)) {
|
|
if ((ret = __txn_begin(dbenv, NULL, &txn, 0)) != 0)
|
|
goto err;
|
|
txn_local = 1;
|
|
}
|
|
|
|
/* Check for consistent transaction usage. */
|
|
if ((ret = __db_check_txn(dbp, txn, DB_LOCK_INVALIDID, 0)) != 0)
|
|
goto err;
|
|
|
|
ret = __db_put(dbp, txn, key, data, flags);
|
|
|
|
err: if (txn_local &&
|
|
(t_ret = __db_txn_auto_resolve(dbenv, txn, 0, ret)) && ret == 0)
|
|
ret = t_ret;
|
|
|
|
/* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_put_arg --
|
|
* Check DB->put arguments.
|
|
*/
|
|
static int
|
|
__db_put_arg(dbp, key, data, flags)
|
|
DB *dbp;
|
|
DBT *key, *data;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
int ret, returnkey;
|
|
|
|
dbenv = dbp->dbenv;
|
|
returnkey = 0;
|
|
|
|
/* Check for changes to a read-only tree. */
|
|
if (DB_IS_READONLY(dbp))
|
|
return (__db_rdonly(dbenv, "DB->put"));
|
|
|
|
/* Check for puts on a secondary. */
|
|
if (F_ISSET(dbp, DB_AM_SECONDARY)) {
|
|
__db_err(dbenv, "DB->put forbidden on secondary indices");
|
|
return (EINVAL);
|
|
}
|
|
|
|
/* Check for invalid function flags. */
|
|
switch (flags) {
|
|
case 0:
|
|
case DB_NOOVERWRITE:
|
|
break;
|
|
case DB_APPEND:
|
|
if (dbp->type != DB_RECNO && dbp->type != DB_QUEUE)
|
|
goto err;
|
|
returnkey = 1;
|
|
break;
|
|
case DB_NODUPDATA:
|
|
if (F_ISSET(dbp, DB_AM_DUPSORT))
|
|
break;
|
|
/* FALLTHROUGH */
|
|
default:
|
|
err: return (__db_ferr(dbenv, "DB->put", 0));
|
|
}
|
|
|
|
/* Check for invalid key/data flags. */
|
|
if ((ret = __dbt_ferr(dbp, "key", key, returnkey)) != 0)
|
|
return (ret);
|
|
if ((ret = __dbt_ferr(dbp, "data", data, 0)) != 0)
|
|
return (ret);
|
|
|
|
/* Keys shouldn't have partial flags during a put. */
|
|
if (F_ISSET(key, DB_DBT_PARTIAL))
|
|
return (__db_ferr(dbenv, "key DBT", 0));
|
|
|
|
/* Check for partial puts in the presence of duplicates. */
|
|
if (F_ISSET(data, DB_DBT_PARTIAL) &&
|
|
(F_ISSET(dbp, DB_AM_DUP) || F_ISSET(key, DB_DBT_DUPOK))) {
|
|
__db_err(dbenv,
|
|
"a partial put in the presence of duplicates requires a cursor operation");
|
|
return (EINVAL);
|
|
}
|
|
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_compact_pp --
|
|
* DB->compact pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_compact_pp __P((DB *, DB_TXN *,
|
|
* PUBLIC: DBT *, DBT *, DB_COMPACT *, u_int32_t, DBT *));
|
|
*/
|
|
int
|
|
__db_compact_pp(dbp, txn, start, stop, c_data, flags, end)
|
|
DB *dbp;
|
|
DB_TXN *txn;
|
|
DBT *start, *stop;
|
|
DB_COMPACT *c_data;
|
|
u_int32_t flags;
|
|
DBT *end;
|
|
{
|
|
DB_COMPACT *dp, l_data;
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int handle_check, ret, t_ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
DB_ILLEGAL_BEFORE_OPEN(dbp, "DB->compact");
|
|
|
|
/*
|
|
* !!!
|
|
* The actual argument checking is simple, do it inline, outside of
|
|
* the replication block.
|
|
*/
|
|
if ((flags & ~DB_COMPACT_FLAGS) != 0)
|
|
return (__db_ferr(dbenv, "DB->compact", 0));
|
|
|
|
/* Check for changes to a read-only database. */
|
|
if (DB_IS_READONLY(dbp))
|
|
return (__db_rdonly(dbenv, "DB->compact"));
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check && (ret = __db_rep_enter(dbp, 1, 0, 0)) != 0) {
|
|
handle_check = 0;
|
|
goto err;
|
|
}
|
|
|
|
if (c_data == NULL) {
|
|
dp = &l_data;
|
|
memset(dp, 0, sizeof(*dp));
|
|
} else
|
|
dp = c_data;
|
|
|
|
switch (dbp->type) {
|
|
case DB_HASH:
|
|
if (!LF_ISSET(DB_FREELIST_ONLY))
|
|
goto err;
|
|
/* FALLTHROUGH */
|
|
case DB_BTREE:
|
|
case DB_RECNO:
|
|
ret = __bam_compact(dbp, txn, start, stop, dp, flags, end);
|
|
break;
|
|
|
|
default:
|
|
err: ret = __dbh_am_chk(dbp, DB_OK_BTREE);
|
|
break;
|
|
}
|
|
|
|
/* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_sync_pp --
|
|
* DB->sync pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_sync_pp __P((DB *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_sync_pp(dbp, flags)
|
|
DB *dbp;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int handle_check, ret, t_ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
DB_ILLEGAL_BEFORE_OPEN(dbp, "DB->sync");
|
|
|
|
/*
|
|
* !!!
|
|
* The actual argument checking is simple, do it inline, outside of
|
|
* the replication block.
|
|
*/
|
|
if (flags != 0)
|
|
return (__db_ferr(dbenv, "DB->sync", 0));
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check && (ret = __db_rep_enter(dbp, 1, 0, 0)) != 0) {
|
|
handle_check = 0;
|
|
goto err;
|
|
}
|
|
|
|
ret = __db_sync(dbp);
|
|
|
|
/* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
err: ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_c_close_pp --
|
|
* DBC->c_close pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_c_close_pp __P((DBC *));
|
|
*/
|
|
int
|
|
__db_c_close_pp(dbc)
|
|
DBC *dbc;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
DB *dbp;
|
|
int handle_check, ret, t_ret;
|
|
|
|
dbp = dbc->dbp;
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/*
|
|
* If the cursor is already closed we have a serious problem, and we
|
|
* assume that the cursor isn't on the active queue. Don't do any of
|
|
* the remaining cursor close processing.
|
|
*/
|
|
if (!F_ISSET(dbc, DBC_ACTIVE)) {
|
|
if (dbp != NULL)
|
|
__db_err(dbenv, "Closing already-closed cursor");
|
|
DB_ASSERT(0);
|
|
ret = EINVAL;
|
|
goto err;
|
|
}
|
|
|
|
/* Check for replication block. */
|
|
handle_check = dbc->txn == NULL && IS_ENV_REPLICATED(dbenv);
|
|
ret = __db_c_close(dbc);
|
|
|
|
/* Release replication block. */
|
|
if (handle_check &&
|
|
(t_ret = __op_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
err: ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_c_count_pp --
|
|
* DBC->c_count pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_c_count_pp __P((DBC *, db_recno_t *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_c_count_pp(dbc, recnop, flags)
|
|
DBC *dbc;
|
|
db_recno_t *recnop;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
DB *dbp;
|
|
int ret;
|
|
|
|
dbp = dbc->dbp;
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
|
|
/*
|
|
* !!!
|
|
* The actual argument checking is simple, do it inline, outside of
|
|
* the replication block.
|
|
*
|
|
* The cursor must be initialized, return EINVAL for an invalid cursor.
|
|
*/
|
|
if (flags != 0)
|
|
return (__db_ferr(dbenv, "DBcursor->count", 0));
|
|
|
|
if (!IS_INITIALIZED(dbc))
|
|
return (__db_curinval(dbenv));
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
ret = __db_c_count(dbc, recnop);
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_c_del_pp --
|
|
* DBC->c_del pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_c_del_pp __P((DBC *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_c_del_pp(dbc, flags)
|
|
DBC *dbc;
|
|
u_int32_t flags;
|
|
{
|
|
DB *dbp;
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int ret;
|
|
|
|
dbp = dbc->dbp;
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
|
|
if ((ret = __db_c_del_arg(dbc, flags)) != 0)
|
|
return (ret);
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for consistent transaction usage. */
|
|
if ((ret = __db_check_txn(dbp, dbc->txn, dbc->locker, 0)) != 0)
|
|
goto err;
|
|
|
|
DEBUG_LWRITE(dbc, dbc->txn, "DBcursor->del", NULL, NULL, flags);
|
|
ret = __db_c_del(dbc, flags);
|
|
err:
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_c_del_arg --
|
|
* Check DBC->c_del arguments.
|
|
*/
|
|
static int
|
|
__db_c_del_arg(dbc, flags)
|
|
DBC *dbc;
|
|
u_int32_t flags;
|
|
{
|
|
DB *dbp;
|
|
DB_ENV *dbenv;
|
|
|
|
dbp = dbc->dbp;
|
|
dbenv = dbp->dbenv;
|
|
|
|
/* Check for changes to a read-only tree. */
|
|
if (DB_IS_READONLY(dbp))
|
|
return (__db_rdonly(dbenv, "DBcursor->del"));
|
|
|
|
/* Check for invalid function flags. */
|
|
switch (flags) {
|
|
case 0:
|
|
break;
|
|
case DB_UPDATE_SECONDARY:
|
|
DB_ASSERT(F_ISSET(dbp, DB_AM_SECONDARY));
|
|
break;
|
|
default:
|
|
return (__db_ferr(dbenv, "DBcursor->del", 0));
|
|
}
|
|
|
|
/*
|
|
* The cursor must be initialized, return EINVAL for an invalid cursor,
|
|
* otherwise 0.
|
|
*/
|
|
if (!IS_INITIALIZED(dbc))
|
|
return (__db_curinval(dbenv));
|
|
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_c_dup_pp --
|
|
* DBC->c_dup pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_c_dup_pp __P((DBC *, DBC **, u_int32_t));
|
|
*/
|
|
int
|
|
__db_c_dup_pp(dbc, dbcp, flags)
|
|
DBC *dbc, **dbcp;
|
|
u_int32_t flags;
|
|
{
|
|
DB *dbp;
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int ret;
|
|
|
|
dbp = dbc->dbp;
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
|
|
/*
|
|
* !!!
|
|
* The actual argument checking is simple, do it inline, outside of
|
|
* the replication block.
|
|
*/
|
|
if (flags != 0 && flags != DB_POSITION)
|
|
return (__db_ferr(dbenv, "DBcursor->dup", 0));
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
ret = __db_c_dup(dbc, dbcp, flags);
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_c_get_pp --
|
|
* DBC->c_get pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_c_get_pp __P((DBC *, DBT *, DBT *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_c_get_pp(dbc, key, data, flags)
|
|
DBC *dbc;
|
|
DBT *key, *data;
|
|
u_int32_t flags;
|
|
{
|
|
DB *dbp;
|
|
DB_ENV *dbenv;
|
|
int ret;
|
|
DB_THREAD_INFO *ip;
|
|
|
|
dbp = dbc->dbp;
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
|
|
if ((ret = __db_c_get_arg(dbc, key, data, flags)) != 0)
|
|
return (ret);
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
DEBUG_LREAD(dbc, dbc->txn, "DBcursor->get",
|
|
flags == DB_SET || flags == DB_SET_RANGE ? key : NULL, NULL, flags);
|
|
ret = __db_c_get(dbc, key, data, flags);
|
|
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_c_get_arg --
|
|
* Common DBC->get argument checking, used by both DBC->get and DBC->pget.
|
|
*/
|
|
static int
|
|
__db_c_get_arg(dbc, key, data, flags)
|
|
DBC *dbc;
|
|
DBT *key, *data;
|
|
u_int32_t flags;
|
|
{
|
|
DB *dbp;
|
|
DB_ENV *dbenv;
|
|
int dirty, multi, ret;
|
|
|
|
dbp = dbc->dbp;
|
|
dbenv = dbp->dbenv;
|
|
|
|
/*
|
|
* Typically in checking routines that modify the flags, we have
|
|
* to save them and restore them, because the checking routine
|
|
* calls the work routine. However, this is a pure-checking
|
|
* routine which returns to a function that calls the work routine,
|
|
* so it's OK that we do not save and restore the flags, even though
|
|
* we modify them.
|
|
*
|
|
* Check for read-modify-write validity. DB_RMW doesn't make sense
|
|
* with CDB cursors since if you're going to write the cursor, you
|
|
* had to create it with DB_WRITECURSOR. Regardless, we check for
|
|
* LOCKING_ON and not STD_LOCKING, as we don't want to disallow it.
|
|
* If this changes, confirm that DB does not itself set the DB_RMW
|
|
* flag in a path where CDB may have been configured.
|
|
*/
|
|
dirty = 0;
|
|
if (LF_ISSET(DB_READ_UNCOMMITTED | DB_RMW)) {
|
|
if (!LOCKING_ON(dbenv))
|
|
return (__db_fnl(dbenv, "DBcursor->get"));
|
|
if (LF_ISSET(DB_READ_UNCOMMITTED))
|
|
dirty = 1;
|
|
LF_CLR(DB_READ_UNCOMMITTED | DB_RMW);
|
|
}
|
|
|
|
multi = 0;
|
|
if (LF_ISSET(DB_MULTIPLE | DB_MULTIPLE_KEY)) {
|
|
multi = 1;
|
|
if (LF_ISSET(DB_MULTIPLE) && LF_ISSET(DB_MULTIPLE_KEY))
|
|
goto multi_err;
|
|
LF_CLR(DB_MULTIPLE | DB_MULTIPLE_KEY);
|
|
}
|
|
|
|
/* Check for invalid function flags. */
|
|
switch (flags) {
|
|
case DB_CONSUME:
|
|
case DB_CONSUME_WAIT:
|
|
if (dirty) {
|
|
__db_err(dbenv,
|
|
"DB_READ_UNCOMMITTED is not supported with DB_CONSUME or DB_CONSUME_WAIT");
|
|
return (EINVAL);
|
|
}
|
|
if (dbp->type != DB_QUEUE)
|
|
goto err;
|
|
break;
|
|
case DB_CURRENT:
|
|
case DB_FIRST:
|
|
case DB_GET_BOTH:
|
|
case DB_GET_BOTH_RANGE:
|
|
case DB_NEXT:
|
|
case DB_NEXT_DUP:
|
|
case DB_NEXT_NODUP:
|
|
case DB_SET:
|
|
case DB_SET_RANGE:
|
|
break;
|
|
case DB_LAST:
|
|
case DB_PREV:
|
|
case DB_PREV_NODUP:
|
|
if (multi)
|
|
multi_err: return (__db_ferr(dbenv, "DBcursor->get", 1));
|
|
break;
|
|
case DB_GET_BOTHC:
|
|
if (dbp->type == DB_QUEUE)
|
|
goto err;
|
|
break;
|
|
case DB_GET_RECNO:
|
|
/*
|
|
* The one situation in which this might be legal with a
|
|
* non-RECNUM dbp is if dbp is a secondary and its primary is
|
|
* DB_AM_RECNUM.
|
|
*/
|
|
if (!F_ISSET(dbp, DB_AM_RECNUM) &&
|
|
(!F_ISSET(dbp, DB_AM_SECONDARY) ||
|
|
!F_ISSET(dbp->s_primary, DB_AM_RECNUM)))
|
|
goto err;
|
|
break;
|
|
case DB_SET_RECNO:
|
|
if (!F_ISSET(dbp, DB_AM_RECNUM))
|
|
goto err;
|
|
break;
|
|
default:
|
|
err: return (__db_ferr(dbenv, "DBcursor->get", 0));
|
|
}
|
|
|
|
/* Check for invalid key/data flags. */
|
|
if ((ret = __dbt_ferr(dbp, "key", key, 0)) != 0)
|
|
return (ret);
|
|
if ((ret = __dbt_ferr(dbp, "data", data, 0)) != 0)
|
|
return (ret);
|
|
|
|
if (multi) {
|
|
if (!F_ISSET(data, DB_DBT_USERMEM)) {
|
|
__db_err(dbenv,
|
|
"DB_MULTIPLE/DB_MULTIPLE_KEY require DB_DBT_USERMEM be set");
|
|
return (EINVAL);
|
|
}
|
|
if (F_ISSET(key, DB_DBT_PARTIAL) ||
|
|
F_ISSET(data, DB_DBT_PARTIAL)) {
|
|
__db_err(dbenv,
|
|
"DB_MULTIPLE/DB_MULTIPLE_KEY do not support DB_DBT_PARTIAL");
|
|
return (EINVAL);
|
|
}
|
|
if (data->ulen < 1024 ||
|
|
data->ulen < dbp->pgsize || data->ulen % 1024 != 0) {
|
|
__db_err(dbenv, "%s%s",
|
|
"DB_MULTIPLE/DB_MULTIPLE_KEY buffers must be ",
|
|
"aligned, at least page size and multiples of 1KB");
|
|
return (EINVAL);
|
|
}
|
|
}
|
|
|
|
/*
|
|
* The cursor must be initialized for DB_CURRENT, DB_GET_RECNO and
|
|
* DB_NEXT_DUP. Return EINVAL for an invalid cursor, otherwise 0.
|
|
*/
|
|
if (!IS_INITIALIZED(dbc) && (flags == DB_CURRENT ||
|
|
flags == DB_GET_RECNO || flags == DB_NEXT_DUP))
|
|
return (__db_curinval(dbenv));
|
|
|
|
/* Check for consistent transaction usage. */
|
|
if (LF_ISSET(DB_RMW) &&
|
|
(ret = __db_check_txn(dbp, dbc->txn, dbc->locker, 0)) != 0)
|
|
return (ret);
|
|
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_secondary_close_pp --
|
|
* DB->close for secondaries
|
|
*
|
|
* PUBLIC: int __db_secondary_close_pp __P((DB *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_secondary_close_pp(dbp, flags)
|
|
DB *dbp;
|
|
u_int32_t flags;
|
|
{
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int handle_check, ret, t_ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
ret = 0;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
|
|
/*
|
|
* As a DB handle destructor, we can't fail.
|
|
*
|
|
* !!!
|
|
* The actual argument checking is simple, do it inline, outside of
|
|
* the replication block.
|
|
*/
|
|
if (flags != 0 && flags != DB_NOSYNC)
|
|
ret = __db_ferr(dbenv, "DB->close", 0);
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for replication block. */
|
|
handle_check = IS_ENV_REPLICATED(dbenv);
|
|
if (handle_check && (t_ret = __db_rep_enter(dbp, 0, 0, 0)) != 0) {
|
|
handle_check = 0;
|
|
if (ret == 0)
|
|
ret = t_ret;
|
|
}
|
|
|
|
if ((t_ret = __db_secondary_close(dbp, flags)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
/* Release replication block. */
|
|
if (handle_check && (t_ret = __env_db_rep_exit(dbenv)) != 0 && ret == 0)
|
|
ret = t_ret;
|
|
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_c_pget_pp --
|
|
* DBC->c_pget pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_c_pget_pp __P((DBC *, DBT *, DBT *, DBT *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_c_pget_pp(dbc, skey, pkey, data, flags)
|
|
DBC *dbc;
|
|
DBT *skey, *pkey, *data;
|
|
u_int32_t flags;
|
|
{
|
|
DB *dbp;
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int ret;
|
|
|
|
dbp = dbc->dbp;
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
|
|
if ((ret = __db_c_pget_arg(dbc, pkey, flags)) != 0 ||
|
|
(ret = __db_c_get_arg(dbc, skey, data, flags)) != 0)
|
|
return (ret);
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
ret = __db_c_pget(dbc, skey, pkey, data, flags);
|
|
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_c_pget_arg --
|
|
* Check DBC->pget arguments.
|
|
*/
|
|
static int
|
|
__db_c_pget_arg(dbc, pkey, flags)
|
|
DBC *dbc;
|
|
DBT *pkey;
|
|
u_int32_t flags;
|
|
{
|
|
DB *dbp;
|
|
DB_ENV *dbenv;
|
|
int ret;
|
|
|
|
dbp = dbc->dbp;
|
|
dbenv = dbp->dbenv;
|
|
|
|
if (!F_ISSET(dbp, DB_AM_SECONDARY)) {
|
|
__db_err(dbenv,
|
|
"DBcursor->pget may only be used on secondary indices");
|
|
return (EINVAL);
|
|
}
|
|
|
|
if (LF_ISSET(DB_MULTIPLE | DB_MULTIPLE_KEY)) {
|
|
__db_err(dbenv,
|
|
"DB_MULTIPLE and DB_MULTIPLE_KEY may not be used on secondary indices");
|
|
return (EINVAL);
|
|
}
|
|
|
|
switch (LF_ISSET(~DB_RMW)) {
|
|
case DB_CONSUME:
|
|
case DB_CONSUME_WAIT:
|
|
/* These flags make no sense on a secondary index. */
|
|
return (__db_ferr(dbenv, "DBcursor->pget", 0));
|
|
case DB_GET_BOTH:
|
|
/* DB_GET_BOTH is "get both the primary and the secondary". */
|
|
if (pkey == NULL) {
|
|
__db_err(dbenv,
|
|
"DB_GET_BOTH requires both a secondary and a primary key");
|
|
return (EINVAL);
|
|
}
|
|
break;
|
|
default:
|
|
/* __db_c_get_arg will catch the rest. */
|
|
break;
|
|
}
|
|
|
|
/*
|
|
* We allow the pkey field to be NULL, so that we can make the
|
|
* two-DBT get calls into wrappers for the three-DBT ones.
|
|
*/
|
|
if (pkey != NULL &&
|
|
(ret = __dbt_ferr(dbp, "primary key", pkey, 0)) != 0)
|
|
return (ret);
|
|
|
|
/* But the pkey field can't be NULL if we're doing a DB_GET_BOTH. */
|
|
if (pkey == NULL && (flags & DB_OPFLAGS_MASK) == DB_GET_BOTH) {
|
|
__db_err(dbenv,
|
|
"DB_GET_BOTH on a secondary index requires a primary key");
|
|
return (EINVAL);
|
|
}
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_c_put_pp --
|
|
* DBC->put pre/post processing.
|
|
*
|
|
* PUBLIC: int __db_c_put_pp __P((DBC *, DBT *, DBT *, u_int32_t));
|
|
*/
|
|
int
|
|
__db_c_put_pp(dbc, key, data, flags)
|
|
DBC *dbc;
|
|
DBT *key, *data;
|
|
u_int32_t flags;
|
|
{
|
|
DB *dbp;
|
|
DB_ENV *dbenv;
|
|
DB_THREAD_INFO *ip;
|
|
int ret;
|
|
|
|
dbp = dbc->dbp;
|
|
dbenv = dbp->dbenv;
|
|
|
|
PANIC_CHECK(dbenv);
|
|
|
|
if ((ret = __db_c_put_arg(dbc, key, data, flags)) != 0)
|
|
return (ret);
|
|
|
|
ENV_ENTER(dbenv, ip);
|
|
|
|
/* Check for consistent transaction usage. */
|
|
if ((ret = __db_check_txn(dbp, dbc->txn, dbc->locker, 0)) != 0)
|
|
goto err;
|
|
|
|
DEBUG_LWRITE(dbc, dbc->txn, "DBcursor->put",
|
|
flags == DB_KEYFIRST || flags == DB_KEYLAST ||
|
|
flags == DB_NODUPDATA || flags == DB_UPDATE_SECONDARY ?
|
|
key : NULL, data, flags);
|
|
ret =__db_c_put(dbc, key, data, flags);
|
|
err:
|
|
ENV_LEAVE(dbenv, ip);
|
|
return (ret);
|
|
}
|
|
|
|
/*
|
|
* __db_c_put_arg --
|
|
* Check DBC->put arguments.
|
|
*/
|
|
static int
|
|
__db_c_put_arg(dbc, key, data, flags)
|
|
DBC *dbc;
|
|
DBT *key, *data;
|
|
u_int32_t flags;
|
|
{
|
|
DB *dbp;
|
|
DB_ENV *dbenv;
|
|
int key_flags, ret;
|
|
|
|
dbp = dbc->dbp;
|
|
dbenv = dbp->dbenv;
|
|
key_flags = 0;
|
|
|
|
/* Check for changes to a read-only tree. */
|
|
if (DB_IS_READONLY(dbp))
|
|
return (__db_rdonly(dbenv, "DBcursor->put"));
|
|
|
|
/* Check for puts on a secondary. */
|
|
if (F_ISSET(dbp, DB_AM_SECONDARY)) {
|
|
if (flags == DB_UPDATE_SECONDARY)
|
|
flags = DB_KEYLAST;
|
|
else {
|
|
__db_err(dbenv,
|
|
"DBcursor->put forbidden on secondary indices");
|
|
return (EINVAL);
|
|
}
|
|
}
|
|
|
|
/* Check for invalid function flags. */
|
|
switch (flags) {
|
|
case DB_AFTER:
|
|
case DB_BEFORE:
|
|
switch (dbp->type) {
|
|
case DB_BTREE:
|
|
case DB_HASH: /* Only with unsorted duplicates. */
|
|
if (!F_ISSET(dbp, DB_AM_DUP))
|
|
goto err;
|
|
if (dbp->dup_compare != NULL)
|
|
goto err;
|
|
break;
|
|
case DB_QUEUE: /* Not permitted. */
|
|
goto err;
|
|
case DB_RECNO: /* Only with mutable record numbers. */
|
|
if (!F_ISSET(dbp, DB_AM_RENUMBER))
|
|
goto err;
|
|
key_flags = 1;
|
|
break;
|
|
case DB_UNKNOWN:
|
|
default:
|
|
goto err;
|
|
}
|
|
break;
|
|
case DB_CURRENT:
|
|
/*
|
|
* If there is a comparison function, doing a DB_CURRENT
|
|
* must not change the part of the data item that is used
|
|
* for the comparison.
|
|
*/
|
|
break;
|
|
case DB_NODUPDATA:
|
|
if (!F_ISSET(dbp, DB_AM_DUPSORT))
|
|
goto err;
|
|
/* FALLTHROUGH */
|
|
case DB_KEYFIRST:
|
|
case DB_KEYLAST:
|
|
key_flags = 1;
|
|
break;
|
|
default:
|
|
err: return (__db_ferr(dbenv, "DBcursor->put", 0));
|
|
}
|
|
|
|
/* Check for invalid key/data flags. */
|
|
if (key_flags && (ret = __dbt_ferr(dbp, "key", key, 0)) != 0)
|
|
return (ret);
|
|
if ((ret = __dbt_ferr(dbp, "data", data, 0)) != 0)
|
|
return (ret);
|
|
|
|
/* Keys shouldn't have partial flags during a put. */
|
|
if (F_ISSET(key, DB_DBT_PARTIAL))
|
|
return (__db_ferr(dbenv, "key DBT", 0));
|
|
|
|
/*
|
|
* The cursor must be initialized for anything other than DB_KEYFIRST
|
|
* and DB_KEYLAST, return EINVAL for an invalid cursor, otherwise 0.
|
|
*/
|
|
if (!IS_INITIALIZED(dbc) && flags != DB_KEYFIRST &&
|
|
flags != DB_KEYLAST && flags != DB_NODUPDATA)
|
|
return (__db_curinval(dbenv));
|
|
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __dbt_ferr --
|
|
* Check a DBT for flag errors.
|
|
*/
|
|
static int
|
|
__dbt_ferr(dbp, name, dbt, check_thread)
|
|
const DB *dbp;
|
|
const char *name;
|
|
const DBT *dbt;
|
|
int check_thread;
|
|
{
|
|
DB_ENV *dbenv;
|
|
int ret;
|
|
|
|
dbenv = dbp->dbenv;
|
|
|
|
/*
|
|
* Check for invalid DBT flags. We allow any of the flags to be
|
|
* specified to any DB or DBcursor call so that applications can
|
|
* set DB_DBT_MALLOC when retrieving a data item from a secondary
|
|
* database and then specify that same DBT as a key to a primary
|
|
* database, without having to clear flags.
|
|
*/
|
|
if ((ret = __db_fchk(dbenv, name, dbt->flags, DB_DBT_APPMALLOC |
|
|
DB_DBT_MALLOC | DB_DBT_DUPOK | DB_DBT_REALLOC | DB_DBT_USERMEM |
|
|
DB_DBT_PARTIAL)) != 0)
|
|
return (ret);
|
|
switch (F_ISSET(dbt, DB_DBT_MALLOC | DB_DBT_REALLOC | DB_DBT_USERMEM)) {
|
|
case 0:
|
|
case DB_DBT_MALLOC:
|
|
case DB_DBT_REALLOC:
|
|
case DB_DBT_USERMEM:
|
|
break;
|
|
default:
|
|
return (__db_ferr(dbenv, name, 1));
|
|
}
|
|
|
|
if (check_thread && DB_IS_THREADED(dbp) &&
|
|
!F_ISSET(dbt, DB_DBT_MALLOC | DB_DBT_REALLOC | DB_DBT_USERMEM)) {
|
|
__db_err(dbenv,
|
|
"DB_THREAD mandates memory allocation flag on DBT %s",
|
|
name);
|
|
return (EINVAL);
|
|
}
|
|
return (0);
|
|
}
|
|
|
|
/*
|
|
* __db_curinval
|
|
* Report that a cursor is in an invalid state.
|
|
*/
|
|
static int
|
|
__db_curinval(dbenv)
|
|
const DB_ENV *dbenv;
|
|
{
|
|
__db_err(dbenv,
|
|
"Cursor position must be set before performing this operation");
|
|
return (EINVAL);
|
|
}
|
|
|
|
/*
|
|
* __db_txn_auto_init --
|
|
* Handle DB_AUTO_COMMIT initialization.
|
|
*
|
|
* PUBLIC: int __db_txn_auto_init __P((DB_ENV *, DB_TXN **));
|
|
*/
|
|
int
|
|
__db_txn_auto_init(dbenv, txnidp)
|
|
DB_ENV *dbenv;
|
|
DB_TXN **txnidp;
|
|
{
|
|
/*
|
|
* Method calls where applications explicitly specify DB_AUTO_COMMIT
|
|
* require additional validation: the DB_AUTO_COMMIT flag cannot be
|
|
* specified if a transaction cookie is also specified, nor can the
|
|
* flag be specified in a non-transactional environment.
|
|
*/
|
|
if (*txnidp != NULL) {
|
|
__db_err(dbenv,
|
|
"DB_AUTO_COMMIT may not be specified along with a transaction handle");
|
|
return (EINVAL);
|
|
}
|
|
|
|
if (!TXN_ON(dbenv)) {
|
|
__db_err(dbenv,
|
|
"DB_AUTO_COMMIT may not be specified in non-transactional environment");
|
|
return (EINVAL);
|
|
}
|
|
|
|
/*
|
|
* Our caller checked to see if replication is making a state change.
|
|
* Don't call the user-level API (which would repeat that check).
|
|
*/
|
|
return (__txn_begin(dbenv, NULL, txnidp, 0));
|
|
}
|
|
|
|
/*
|
|
* __db_txn_auto_resolve --
|
|
* Resolve local transactions.
|
|
*
|
|
* PUBLIC: int __db_txn_auto_resolve __P((DB_ENV *, DB_TXN *, int, int));
|
|
*/
|
|
int
|
|
__db_txn_auto_resolve(dbenv, txn, nosync, ret)
|
|
DB_ENV *dbenv;
|
|
DB_TXN *txn;
|
|
int nosync, ret;
|
|
{
|
|
int t_ret;
|
|
|
|
/*
|
|
* We're resolving a transaction for the user, and must decrement the
|
|
* replication handle count. Call the user-level API.
|
|
*/
|
|
if (ret == 0)
|
|
return (__txn_commit(txn, nosync ? DB_TXN_NOSYNC : 0));
|
|
|
|
if ((t_ret = __txn_abort(txn)) != 0)
|
|
return (__db_panic(dbenv, t_ret));
|
|
|
|
return (ret);
|
|
}
|