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

  • From: "Dinesh Vadhia" <dineshvadhia@xxxxxxxxxxx>
  • To: <py-lmdb@xxxxxxxxxxxxx>
  • Date: Wed, 21 May 2014 15:44:50 -0700

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: