README.md: #encrypt= is very new. I don't know enough about it, so i can't sign it.
This commit is contained in:
parent
5de2c5cf8f
commit
6f26ed5a76
|
@ -36,7 +36,7 @@ Sample Usage
|
||||||
Bdb::DB_INIT_LOCK | # Initialize locking.
|
Bdb::DB_INIT_LOCK | # Initialize locking.
|
||||||
Bdb::DB_INIT_LOG | # Initialize logging
|
Bdb::DB_INIT_LOG | # Initialize logging
|
||||||
Bdb::DB_INIT_MPOOL # Initialize the in-memory cache.
|
Bdb::DB_INIT_MPOOL # Initialize the in-memory cache.
|
||||||
env.encrypt = 'yourpassword'
|
# env.encrypt = 'yourpassword' # If you need it.
|
||||||
env.open(File.join(File.dirname(__FILE__), 'tmp'), env_flags, 0);
|
env.open(File.join(File.dirname(__FILE__), 'tmp'), env_flags, 0);
|
||||||
|
|
||||||
db = env.db
|
db = env.db
|
||||||
|
|
Loading…
Reference in a new issue