Main Page | Report this Page
Computers Forum Index  »  Computer - Databases - Berkeley  »  multiple secondary keys
Page 1 of 1    

multiple secondary keys

Author Message
Mejo Jose A
Posted: Thu Jan 24, 2008 1:03 pm
Guest
I've one primary database to which multiple secordary dbs are
associated. These secondary dbs supports duplicate keys. I want to set
multiple secondary keys for a single prinmary modification.
When I tried to set multiple secondary keys using the following steps.
1. set DB_DBT_MULTIPLE flag in returned Dbt of the callback function.
2. Set an array of Dbt as the data of the result Dbt of the callback
function.
3. Set the number of Dbts as the size of result Dbt of the callback
function.

After doing this I could not find the data updated in secondary db. It
works fine in single secondaray key modification.

Your reply will be very valuable for me.
Thanks in advance,
Mejo
 
 
Page 1 of 1    
All times are GMT
The time now is Wed Nov 25, 2009 12:18 am