1<!--$Id: rmw.so,v 11.10 2003/10/18 19:16:14 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_RMW</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/txn_stat.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/lock_notheld.html"><img src="/images/next.gif" alt="Next"></a> 14</td></tr></table> 15<p align=center><b>Release 3.0: DB_RMW</b></p> 16<p>The following change applies only to applications using the 17Berkeley DB Concurrent Data Store product. If your application is not using that product, 18you can ignore this change.</p> 19<p>Historically, the <a href="/api_c/db_cursor.html">DB->cursor</a> method took the DB_RMW flag to indicate 20that the created cursor would be used for write operations on the 21database. This flag has been renamed to the <a href="/api_c/db_cursor.html#DB_WRITECURSOR">DB_WRITECURSOR</a> 22flag.</p> 23<p>The application should be searched for any occurrences of DB_RMW. For 24each of these, any that are arguments to the <a href="/api_c/db_cursor.html">DB->cursor</a> function 25should be changed to pass in the <a href="/api_c/db_cursor.html#DB_WRITECURSOR">DB_WRITECURSOR</a> flag instead.</p> 26<table width="100%"><tr><td><br></td><td align=right><a href="/upgrade.3.0/txn_stat.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/lock_notheld.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