@ -36,6 +36,7 @@ Sample Usage
Bdb::DB_INIT_LOCK | # Initialize locking.
Bdb::DB_INIT_LOG | # Initialize logging
Bdb::DB_INIT_MPOOL # Initialize the in-memory cache.
env.encrypt = 'yourpassword'
env.open(File.join(File.dirname(__FILE__), 'tmp'), env_flags, 0);
db = env.db