sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] Berkeley DB db-5.0.21 released (and keys.rpm5.org)


From: John Clizbe
Subject: Re: [Sks-devel] Berkeley DB db-5.0.21 released (and keys.rpm5.org)
Date: Thu, 08 Apr 2010 19:00:21 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10pre) Gecko/20100406 SeaMonkey/2.0.5 NOT Firefox/3.5.9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jeff Johnson wrote:
> First the administrivia:
>       keys.rpm5.org

OK, had that

> Second (and development related):
> 
> Berkeley DB db-5.0.21 (aka "Berkeley DB 11gR2 (11.2.5.0.21)" in Oracle-speak)
> was released last week:
>       http://www.oracle.com/database/berkeley-db/
> What is likely of interest to SKS-devel is that db-5.0.21 includes
> a sqlite3 "wrapper layer" onto Berkeley DB now.

Saw that last week. Just downloaded last night.

> So if you wish to migrate SKS from BerkeletDB -> sqlite3, there is most 
> definitely
> a seamless transparent pathway to do so that starts like:

Nearly seamless.

The DB_XA_CREATE flag to db_create() was removed from the BDB api starting with
4.8.  SKS' bdb/bdb_stubs.c gets upset about it.

The 4.8 documentation says the flags value to db_create() is unused and should
be set to zero.

#defining DB_XA_CREATE to zero in bdb_stubs.c seems to be a quick fix.

>       1) upgrade to db-5.0.21
>       2) figure the additional sqlite3 SQL needed to permit _BOTH_ SQL and
>       Berkeley DB "CRUD" access to the underlying storage.
>       3) rewrite (the OCAML) to use the SQL rather than the "CRUD" interface.
>       4) flip out Berkeley DB and use "traditional" sqlite3 instead.
> 
> I've just spent the last week doing "due diligence" against the "CRUD" 
> interface.
> I know that db-4.8.26 -> db-5.0.21 is "drop-in".

4.5-4.7 -> 4.8 requires small change to SKS

> I also know that 4.6.x -> 4.7.x -> 4.8.x -> ... are "no-brainer" upgrades. 
> WHich
> means that both of these statements are TRUE:
>       There's no reason to upgrade.
> and
>       There's no impediment to upgrading.

- -- 
John P. Clizbe                      Inet:John (a) Mozilla-Enigmail.org
You can't spell fiasco without SCO. hkp://keyserver.gingerbear.net  or
     mailto:address@hidden

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11-svn5301-2010-03-26 (Windows XP)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
Comment: Be part of the £€37 ECHELON -- Use Strong Encryption.
Comment: It's YOUR right - for the time being.
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAku+bhMACgkQ614Z89ZWmCUlzQD+Jg+gdob4/iqFZ0Sw5JkIfm33
+IB4iodnVJ+OE/RnTX8A/iwYdBBuFuZ1xZoLeCpMEhPt6kXlc8DvjwnQkZQQL3al
=CU6N
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]