Skip Menu |

This queue is for tickets about the LMDB_File CPAN distribution.

Report information
The Basics
Id: 98671
Status: resolved
Worked: 2 min
Priority: 0/
Queue: LMDB_File

People
Owner: sog [...] msg.com.mx
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.05
Fixed in: 0.06



Subject: calling ->del($key) fails with invalid usage.
Attached is an example bit of code that demonstrates this error.
Subject: lmdb.pl
#!/usr/bin/env perl # FILENAME: lmdb.pl # CREATED: 09/07/14 15:02:41 by Kent Fredric (kentnl) <kentfredric@gmail.com> # ABSTRACT: Make sure I get this. use strict; use warnings; use utf8; use LMDB_File qw( :dbflags ); mkdir '/tmp/some_path'; my $env = LMDB::Env->new('/tmp/some_path'); my $txn = $env->BeginTxn; $txn->AutoCommit(1); my $db = $txn->OpenDB( { dbname => "Example", flags => MDB_CREATE, } ); $db->put("test1", "Hello"); print $db->get("test1"); $db->del("test1"); # Bang __END__ Usage: LMDB_File::_del(txn, dbi, key, data) at /home/kent/perl5/perlbrew/perls/blead/lib/site_perl/5.21.3/x86_64-linux/LMDB_File.pm line 347.
El Sáb Sep 06 23:08:47 2014, KENTNL escribió: Show quoted text
> Attached is an example bit of code that demonstrates this error.
Fixed in 0.06. Thanks for you report.