Ralf Haferkamp wrote:
On Tuesday 24 July 2007 09:36, Quanah Gibson-Mount wrote:
> I'd like to. In true sleepycat fashion, they changed the API before the
> official release,
Yes, it seems that they at least changed something in the DBC structure.
The "locker" attribute is now of the type DB_LOCKER (a new structure) instead
of an u_int32_t as it was in older revisions.
Yeah, this will be a bit of a pain, since slapadd relied on being able to get
the locker ID out of the cursor structure, and several places relied on being
able to explicitly set the locker ID in the cursor. Very annoying; they should
have just completely done away with the integer locker IDs and just used the
DB_LOCKER pointers everywhere. As it is now, we still need the integers for the
public lock APIs but they're all converted to pointers in the internal APIs
> which means someone (guessing Howard) needs to see what
> has changed to make it so that OpenLDAP works with it.
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/