dbTalk Databases Forums  

Value field not standard for each record

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


Discuss Value field not standard for each record in the comp.databases.berkeley-db forum.



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

Default Value field not standard for each record - 09-22-2006 , 08:18 AM






I have created a database with a dynamic array of structs as the value
field.
I wanted for each record the size of the array to be different.

key value
------------------------
1 5-size array
2 2-size array
3 10-size array


BUT when I retrieve all the records of my database, the size of the
arrat is the same as the maximum one for each record. For example:

key value
------------------------
1 10-size array
2 10-size array
3 10-size array


Does anybody know if there is some constraint of BDB saying that for
records value field must have the same size?


thanx in advance,
Panos


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.