![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| Hi, Is the DB_CREATE flag, when passed to DbEnv.open(), supposed to create the directory in which the database environment sits? I get an error. What does the DB_CREATE flag mean with respect to the DbEnv.open() call? Example: DbEnv env(0); env.open("/foo/bar/baz", DB_INIT_MPOOL | DB_CREATE, 0); This fails with a "No such file or directory error" even if "/foo/bar" exists. Thanks for any info, -- Andrew Bell andrew.bell.ia (AT) gmail (DOT) com |
![]() |
| Thread Tools | |
| Display Modes | |
| |