From dmbarbour@gmail.com Fri Dec 5 18:03:14 2014 From: dmbarbour@gmail.com To: openldap-bugs@openldap.org Subject: Fwd: (ITS#7994) [LMDB] Feature Request: Access to current transaction ID. Date: Fri, 05 Dec 2014 18:03:10 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2892647556210542666==" --===============2892647556210542666== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable --f46d0434c0ba9e39c905097be220 Content-Type: text/plain; charset=3DUTF-8 I typedef'd MDB_txnid_t at the top of lmdb.h. The patch also tweaks MDB_envinfo. On Fri, Dec 5, 2014 at 11:58 AM, Howard Chu wrote: > > Thanks. There's a slight problem with the patch, your function returns > MDB_txnid_t but that is a private typedef in mdb.c. It is not defined in > lmdb.h, so no one will be able to compile and use this code. > > Easiest change would be to just return size_t, like MDB_envinfo uses. > --f46d0434c0ba9e39c905097be220 Content-Type: text/html; charset=3DUTF-8 Content-Transfer-Encoding: quoted-printable

--f46d0434c0ba9e39c905097be220-- --===============2892647556210542666==--