dbTalk Databases Forums  

Db::join: Invalid argument

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Db::join: Invalid argument in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tnicxx@gmail.com
 
Posts: n/a

Default Db::join: Invalid argument - 09-03-2006 , 12:41 AM






Hi,

What does that error mean?

Thanks,
Nico


Reply With Quote
  #2  
Old   
ron.cohen@gmail.com
 
Posts: n/a

Default Re: Db::join: Invalid argument - 09-06-2006 , 09:15 PM






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


Reply With Quote
  #3  
Old   
tnicxx@gmail.com
 
Posts: n/a

Default Re: Db::join: Invalid argument - 09-10-2006 , 12:17 PM



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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.