Hi Ron,
I've tried your suggestion. First I added these lines in the code:
DbEnv myEnv(0);
myEnv.set_error_stream(&cerr);
and the additional error message printed was "illegal flag specified to
DB->join".
Afterwards I also added these lines:
Db *db = new Db(&myEnv, 0);
db->set_error_stream(&cerr);
and the error message became as below:
DB->stat: method not permitted before handle's open method
terminate called after throwing an instance of 'DbException'
what(): Db::stat_print: Invalid argument
What does that mean?
Thanks,
Nico
ron.cohen (AT) gmail (DOT) com wrote:
Quote:
Hi Nico,
Do you have error logging enabled? See the documentation here:
http://www.sleepycat.com/docs/api_cx...or_stream.html
for more details.
tnicxx (AT) gmail (DOT) com wrote:
Regards,
Ron |