Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: Berkeley DB - dbp->get problem ...

Re: Berkeley DB - dbp->get problem ...

From: Cimarron Taylor <cimarron+google_at_taylors.org>
Date: 22 Aug 2002 02:39:21 -0700
Message-ID: <29e28c51.0208220139.784967ae@posting.google.com>


It looks like you aren't initializing all of the key and data structures. Try adding

memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));

before you assign to the structure members. Hope this helps,

Cim Received on Thu Aug 22 2002 - 04:39:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US