susu *nix forums beginner
Joined: 21 Sep 2006
Posts: 1
|
Posted: Thu Sep 21, 2006 10:37 am Post subject:
Secondary db empty
|
|
|
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? |
|