dbTalk Databases Forums  

Associate secondary database failed. associate() gives invalid parameter

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


Discuss Associate secondary database failed. associate() gives invalid parameter in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Associate secondary database failed. associate() gives invalid parameter - 06-15-2006 , 09:02 AM






Hello,

I am writting here because I build two db : the first one to store
DB_DUPSORT data and the secondary associated is set to DB_DUPSORT.
Could you tell me why the result of ->associate() gives me an Invalid
parameter. Both use my own function to sort keys. My code works
perfectly just before inserting this ->associate() function. I follow
exactly the syntax and examples given at the end of Getting started PDF
document. I do not use transaction. I am under LINUX slackware.

Thanks.

INTMAIL01


Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: Associate secondary database failed. associate() gives invalid parameter - 06-15-2006 , 09:13 AM







intmail01 (AT) gmail (DOT) com wrote:
Quote:
Hello,

I am writting here because I build two db : the first one to store
DB_DUPSORT data and the secondary associated is set to DB_DUPSORT.
Could you tell me why the result of ->associate() gives me an Invalid
parameter. Both use my own function to sort keys. My code works
perfectly just before inserting this ->associate() function. I follow
exactly the syntax and examples given at the end of Getting started PDF
document. I do not use transaction. I am under LINUX slackware.

Thanks.

INTMAIL01
In the document. It say:the primary database must be configured without
support for duplicate data items



Reply With Quote
  #3  
Old   
AT
 
Posts: n/a

Default Re: Associate secondary database failed. associate() gives invalid parameter - 06-18-2006 , 08:51 AM



I remove any DUP support (sorting function too) but no change.


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.