Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Berkely DB > Beginning a tra...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1758 of 1804
Post > Topic >>

Beginning a transaction and opening a file

by rohithravi@[EMAIL PROTECTED] Jul 12, 2007 at 05:10 AM

In my understanding for calling the Db::put in a transaction,

1. Open an environment
2. Begin a transaction
3. Open the file in the transaction
4. call Db::put
5. commit/abort the transaction
6. Close the file.
7. close the environment.

Hope for calling the put operation in a transaction the file should be
opened in that transaction. Am i right?
 




 2 Posts in Topic:
Beginning a transaction and opening a file
rohithravi@[EMAIL PROTECT  2007-07-12 05:10:24 
Re: Beginning a transaction and opening a file
Philip Guenther <guent  2007-07-12 19:57:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 6:23:28 CDT 2008.