Discussion:
what happened to DB_XIDDATASIZE in berkeley 4.8
(too old to reply)
sds
2010-05-18 19:40:06 UTC
Permalink
"Berkeley DB 4.8.24: (August 14, 2009)"
there is no DB_XIDDATASIZE in /usr/include/db.h.
DB_TXN->prepare is declared like this:
int (*prepare) __P((DB_TXN *, u_int8_t *));
however, the doc
http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/C/txnprepare.html
still specifies
int DB_TXN->prepare(DB_TXN *tid, u_int8_t gid[DB_XIDDATASIZE]);
so, what is going on?
Can I now use gids of any size?
Michael
2010-05-19 07:37:54 UTC
Permalink
Use DB_GID_SIZE from DB 4.8.24 onwards. Support for XA was removed in
4.8.24, which is why this flag was renamed. It looks like the
documentation was not updated -- I'll get that fixed.

Michael Cahill, Oracle Berkeley DB.


P.S. Most support now happens here: http://forums.oracle.com/forums/forum.jspa?forumID=271
John Kelly
2010-06-18 14:53:28 UTC
Permalink
On Wed, 19 May 2010 00:37:54 -0700 (PDT), Michael
Post by Michael
http://forums.oracle.com/forums/forum.jspa?forumID=271
I hate support web interfaces. Email/news is better. Why don't you
gate it to the ng.
--
Web mail, POP3, and SMTP
http://www.beewyz.com/freeaccounts.php
Loading...