[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7660) LMDB: Proposing a small addition to the API: mdb_txn_env



sog@msg.com.mx wrote:
> Full_Name: Salvador Ortiz
> Version: 24
> OS: Linux
> URL: ftp://ftp.msg.com.mx/pub/varios/Add-mdb_txn_env-to-API.patch
> Submission from: (NULL) (187.162.45.111)
>
>
> I'm writing from scratch a wrapper of LMDB for the Perl language, the project is
> progressing fast and looks very promising. Thank you for a wonderful library!
>
> I want to avoid as much as possible the need to duplicate LMDB's state in perl,
> in particular dbi's flags, so I need a method to obtain the MDB_env from a
> MDB_txn, but the required API is missing.
>
> In the same spirit of mdb_cursor_txn or mdb_cursor_dbi I propose adding
> mdb_txn_env.

Looks fine, thanks. In mdb.master.
>
> Provided a patch against gitorious mdb.master.
>
> Any comments or questions more than welcome.
>
> Regards.
>
> Salvador
>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/