projects
/
dbsrgits/DBM-Deep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
More failing tests, particularly for keys() and transactions.
[dbsrgits/DBM-Deep.git]
/
lib
/
DBM
/
Deep
/
File.pm
diff --git
a/lib/DBM/Deep/File.pm
b/lib/DBM/Deep/File.pm
index
52792c0
..
3fcf9d0
100644
(file)
--- a/
lib/DBM/Deep/File.pm
+++ b/
lib/DBM/Deep/File.pm
@@
-217,6
+217,10
@@
sub request_space {
sub lock {
my $self = shift;
my ($obj, $type) = @_;
+
+ #XXX This may not always be the correct thing to do
+ $obj = $self->{base_db_obj} unless defined $obj;
+
$type = LOCK_EX unless defined $type;
if (!defined($self->{fh})) { return; }