On Fri, Apr 02, 2004 at 12:28:59PM -0500, Clint Adams wrote: > This appears to work with db4.2, and handles automatic upgrades.
I think I have this mostly ready to go. The upgrade code doesn't seem to work, though, at least for existing libdb2 databases. E: Unable to open DB file /tmp/cache.db: Invalid argument i.e., EINVAL is being returned, rather than DB_OLD_VERSION. Is this supposed to work, or are these databases just too old? (I changed the error message to use db_strerror rather than Errno, since 'err' is being used instead of errno) > I'm curious why the C API is being used rather than the C++ API. Did it exist at the time? -- - mdz

