Skip Menu |

This queue is for tickets about the BerkeleyDB CPAN distribution.

Report information
The Basics
Id: 7217
Status: resolved
Priority: 0/
Queue: BerkeleyDB

People
Owner: pmqs [...] cpan.org
Requestors: barborak [...] mode20.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.02
Fixed in: (no value)



Subject: cached cursors not closed
Cursors are opened and cached in the database object during the tie functions CLEAR and FIRSTKEY. There doesn't appear to be an API to manually close these. Neither does close_everything() or BerkeleyDB::Common::db_close close them. Another problem that I see is that when working with transactions, a deadlock can occur if the transaction boundaries overlap the cursor's open and close boundaries. I think a simple solution without terrible functionality loss might be to close all the cached cursors before beginning a transaction and again before committing or aborting. Thanks again for a great module. Mike
Subject: not a problem
From: barborak [...] mode20.com
I'm sorry, there doesn't seem to be a problem here. - Mike
[guest - Mon Aug 2 14:44:01 2004]: Show quoted text
> I'm sorry, there doesn't seem to be a problem here. - Mike >
No problem Mike. I'll just retire this ticket. Paul