-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG 5.005_(03|57)] lib/anydbm.t fails #12 (null key) with DB 2.1.2 #298
Comments
From @schwernprint ($h{''} eq 'bar' ? "ok 12\n" : "not ok 12\n"); Since libndbm.so is lined to libdb.so on Debian (and RedHat as well, I use DB_File; ok 11 Use of uninitialized value at -e line 1. libdb.so is 2.1.2 from the Debian libc6 (2.1.2-0pre2) package Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Characteristics of this binary (from libperl): Summary of my perl5 (revision 5.0 version 5 subversion 57) configuration: Characteristics of this binary (from libperl): |
From @pmqsFrom: Michael G Schwern [mailto:schwern@ArenaNetworks.com]
Correct, this is a Berkeley DB issue rather than a DB_File one. The good new is that the Sleepycat folk have said that they will re-enable Paul |
From @schwernOn Sat, Jul 31, 1999 at 08:40:32PM +0100, paul.marquess@bt.com wrote:
Ahh, good to hear. May I suggest that a comment be added to *** db-hash.t 1999/08/01 01:57:06 + # Berkeley DB 2 (up to an including 2.1.2) does not allow null keys. *** anydbm.t 1999/08/01 01:54:31 print ($h{'foo'} eq '' ? "ok 11\n" : "not ok 11\n"); untie %h; -- Michael G Schwern schwern@pobox.com |
From @timbunceOn Sat, Jul 31, 1999 at 09:53:04PM -0400, Michael G Schwern wrote:
Does DB offer a way to discover the version at runtime? Tim. |
From @pmqs
For Berkeley DB 1.x, no. In DB_File I provide a restricted interface to the Berkeley DB version via For Berkeley DB 1.x the variable always returns "1". With Berkeley DB version 2, it returns the major & minor version numbers Paul |
From @pmqsFrom: Michael G Schwern [mailto:schwern@pobox.com]
Nope, the change was made in Berkeley DB 2.4.10. Anything before is ok, Paul |
Migrated from rt.perl.org#1121 (status was 'resolved')
Searchable as RT1121$
The text was updated successfully, but these errors were encountered: