[py-lmdb] Re: create_env() and open_env()

  • From: David Wilson <dw@xxxxxxxx>
  • To: py-lmdb@xxxxxxxxxxxxx
  • Date: Wed, 21 May 2014 23:41:57 +0000

Hey Dinesh,

Neither of these are functions from py-lmdb. There it is simply
"lmdb.open()", unless I'm somehow confused. :)


On Wed, May 21, 2014 at 03:44:50PM -0700, Dinesh Vadhia wrote:
> Maybe I don't understand the difference but:
> a. create_env() creates the initial environment including setting the path to
> the env, the map_size etc.
> b. open_env(path) opens an env
> In practice, open_env() has to be passed all the parameters that were used for
> create_env().
> It seems as if create_env() and open_env() are identical. 
> Is this right?

Other related posts: