1<!--$Id: tcl.so,v 1.6 2001/03/01 15:58:21 bostic Exp $--> 2<!--Copyright (c) 1997,2008 Oracle. All rights reserved.--> 3<!--See the file LICENSE for redistribution information.--> 4<html> 5<head> 6<title>Berkeley DB Reference Guide: Release 3.1: Tcl API</title> 7<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> 8<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++"> 9</head> 10<body bgcolor=white> 11<table width="100%"><tr valign=top> 12<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></b></td> 13<td align=right><a href="/upgrade.3.1/env.html"><img src="/images/prev.gif" alt="Prev"></a><a href="/toc.html"><img src="/images/ref.gif" alt="Ref"></a><a href="/upgrade.3.1/tmp.html"><img src="/images/next.gif" alt="Next"></a> 14</td></tr></table> 15<p align=center><b>Release 3.1: Tcl API</b></p> 16<p>The Berkeley DB Tcl API has been modified so that the <b>-mpool</b> option to 17the <b>berkdb env</b> command is now the default behavior. The Tcl API 18has also been modified so that the <b>-txn</b> option to the 19<b>berkdb env</b> command implies the <b>-lock</b> and <b>-log</b> 20options. Tcl scripts should be updated to remove the <b>-mpool</b>, 21<b>-lock</b> and <b>-log</b> options.</p> 22<p>The Berkeley DB Tcl API has been modified to follow the Tcl standard rules 23for integer conversion, for example, if the first two characters of a 24record number are "0x", the record number is expected to be in 25hexadecimal form.</p> 26<table width="100%"><tr><td><br></td><td align=right><a href="/upgrade.3.1/env.html"><img src="/images/prev.gif" alt="Prev"></a><a href="/toc.html"><img src="/images/ref.gif" alt="Ref"></a><a href="/upgrade.3.1/tmp.html"><img src="/images/next.gif" alt="Next"></a> 27</td></tr></table> 28<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 29</body> 30</html> 31