apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46459] New: apr_dbm BDB backend: allow db type selection
Date Thu, 01 Jan 2009 04:25:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46459

           Summary: apr_dbm BDB backend: allow db type selection
           Product: APR
           Version: 1.3.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: APR-util
        AssignedTo: bugs@apr.apache.org
        ReportedBy: headch@gmail.com


Currently, in apr_dbm_berkeleydb.c, the vt_db_open() function hardcodes the
database type as DB_HASH. It would be ideal if the client could specify this
parameter. Less ideal, but still better than the current state, would be if
DB_UNKNOWN were used for non-create opens so that files in other formats would
at least work. Barring either of the above, at the very least db2s() should be
improved to report all the BDB errors that correspond to system errors as
system errors and not user errors, so that sensible string messages come out
(e.g. "Invalid argument" rather than "(120022)APR does not understand this
error code").


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message