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_at_posting.google.com>
Date: 22 Aug 2002 02:39:21 -0700
Message-ID: <29e28c51.0208220139.784967ae_at_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 - 11:39:21 CEST