niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Berkeley DB
Secondary db empty
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
susu
*nix forums beginner


Joined: 21 Sep 2006
Posts: 1

PostPosted: Thu Sep 21, 2006 10:37 am    Post subject: Secondary db empty Reply with quote

Hi,
I've a problem with db.associate method.
I've created a primary table with DB_BTREE and DB.CREATE flags and put the data with flags set to 0. When I try to create a secondary db the callback (that I've created) function does not seem to be reached, so the file is created (whith flags like the primary db) but is empty! In fact when I try to read it with a cursor, it returns a value of -30990 (or something like).
The primary table is read correctly.

What's the problem?
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 8:35 pm | All times are GMT
navigation Forum index » Databases » Berkeley DB
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts (secondary) index-only scans Ryan Berkeley DB 1 Thu Jul 20, 2006 8:32 pm
No new posts how match/expose the value in an empty variable having le... Jack Perl 3 Sat Jul 15, 2006 6:49 am
No new posts Relying on the behaviour of empty container in conditiona... horizon5 python 9 Tue Jul 11, 2006 11:52 am
No new posts How to detect an empty file? Olivier C 0 Mon Jul 10, 2006 6:54 pm
No new posts How to detect an empty file? Olivier C 32 Mon Jul 10, 2006 6:53 pm

Loans | Car Accident Attorney Los Angeles | Buy Anything On eBay | Mortgage Calculator | Mortgage
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2300s ][ Queries: 16 (0.1396s) ][ GZIP on - Debug on ]