1<!--$Id: lock_notheld.so,v 11.8 2001/07/26 18:35:51 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.0: DB_LOCK_NOTHELD</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.0/rmw.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.0/eagain.html"><img src="/images/next.gif" alt="Next"></a> 14</td></tr></table> 15<p align=center><b>Release 3.0: DB_LOCK_NOTHELD</b></p> 16<p>Historically, the Berkeley DB lock_put and lock_vec interfaces could return 17the DB_LOCK_NOTHELD error to indicate that a lock could not be released 18as it was held by another locker. This error can no longer be returned 19under any circumstances. The application should be searched for any 20occurrences of DB_LOCK_NOTHELD. For each of these, the test and any 21error processing should be removed.</p> 22<table width="100%"><tr><td><br></td><td align=right><a href="/upgrade.3.0/rmw.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.0/eagain.html"><img src="/images/next.gif" alt="Next"></a> 23</td></tr></table> 24<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 25</body> 26</html> 27