Subject: | Status '3' received when performing a db->Txn() function |
Hi again Paul,
I'm still at it with getting concurrency working in BerkeleyDB. While reviewing your code, I think I discovered the problem with my original bug report--cds_lock isn't implemented. A note in the docs would be nice to save others the trouble.
At any rate, I began digging around in your test scripts for ideas and came across transactions. While working on getting these plugged into my scripts to see if they will provide the concurrency I am seeking, I came across what appears to be a bug.
If you setup transactions then do a check on the status returned from Txn(), you will receive an error. See example below:
my $txn = $env->begin_txn();
$status = $bdb->Txn($txn);
$status now contains '3' but $BerkeleyDB::Error returns Success.
William