Hey Ian, I found the problem, I was indexing objects by their ele::oid which is a number. When I index by string it works.
Cheers, Edward Tate On Thu, Dec 17, 2009 at 2:08 PM, Ian Eslick <esl...@media.mit.edu> wrote: > Hi Edward, > > I'm unable to reproduce with my local version of the latest Elephant > (latest, ccl64, DB 4.7, Mac). Can you give me a transcript like: > > (setf btree (make-btree)) > (setf (get-value 'foo btree) 10) > (setf (get-value 'bar btree) 20) > (dump-btree btree) > (remove-kv 'foo btree) > (dump-btree btree) > > It's possible that there is some low-level issue talking to the DB API in > the FFI between Elephant and BDB. I don't have time to test on SBCL today, > but perhaps someone else does. I might be able to get to it this weekend. > > Thanks, > Ian > > On Dec 17, 2009, at 4:30 AM, Edward Tate wrote: > > > Hey, > > > > I'm using the latest elephant on SBCL 1.0.29 with BDB 4.7, and I'm > getting strange behaviour. > > > > * Using remove-kv doesn't actually delete keys from a btree. > > * Using drop-btree doesn't actually drop the btree. > > * Using flush-instance-cache doesn't seem to help. > > * Doing a full GC doesn't seem to help. > > > > Is there a way of removing data permanently? > > > > Cheers, > > Edward Tate > > _______________________________________________ > > elephant-devel site list > > elephant-devel@common-lisp.net > > http://common-lisp.net/mailman/listinfo/elephant-devel > > > _______________________________________________ > elephant-devel site list > elephant-devel@common-lisp.net > http://common-lisp.net/mailman/listinfo/elephant-devel >
_______________________________________________ elephant-devel site list elephant-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/elephant-devel