head 1.4; access; symbols RPM_4_2_1:1.1.1.1 RPM_4_2:1.1.1.1 RPM_4_1_1:1.1.1.1 RPM_4_0_5:1.1.1.1 RPM:1.1.1; locks; strict; comment @# @; 1.4 date 2008.01.02.09.54.29; author rse; state dead; branches; next 1.3; commitid z4cpSiAhOCXk5PLs; 1.3 date 2003.08.24.12.43.14; author rse; state Exp; branches; next 1.2; 1.2 date 2003.08.24.12.33.50; author rse; state dead; branches; next 1.1; 1.1 date 2002.09.19.20.34.06; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.09.19.20.34.06; author rse; state Exp; branches; next ; desc @@ 1.4 log @remove the ancient RPM 4.2.1 source tree copy @ text @ Berkeley DB: env dbrename

env dbrename

APIRef

env dbrename
	[-auto_commit]
	[-txn txnid]
	[--]
	file
	newname

Description

Rename the Berkeley DB database file to newname.

The options are as follows:

-auto_commit
Enclose the call within a transaction. If the call succeeds, changes made by the operation will be recoverable. If the call fails, the operation will have made no changes.

-txn txnid
If the operation is to be transaction-protected (other than by specifying the -auto_commit flag), the txnid parameter is a transaction handle returned from env txn.

The env dbrename command returns 0 on success, and in the case of error, a Tcl error is thrown.

APIRef

Copyright Sleepycat Software @ 1.3 log @Resolve: RPM 4.1 -> RPM 4.1.1 @ text @@ 1.2 log @Resolve: RPM 4.0.5 -> RPM 4.1 @ text @@ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Import: RPM 4.0.5 @ text @@