Re: [elephant-devel] String class index broken?

2007-09-04 Thread Ian Eslick
I found the bug, it's an optimization left in the BDB cursor code that would work with exact key matches but fails on non-exact matches due to the way I implemented map-index. Here's the patch to src/db-bdb/bdb-collections.lisp 593c593,596 < (values t key (deserialize val sc) ---

Re: [elephant-devel] a job for the query system?

2007-09-04 Thread Pierre THIERRY
Scribit Ian Eslick dies 03/09/2007 hora 23:38: > However I haven't looked at the local tree recently so I'm not sure > what shape it was in so would hesitate to make it available without > that review. You can make it available as a branch separate from the trunk, and making such local development

Re: [elephant-devel] String class index broken?

2007-09-04 Thread Chris Laux
Robert L. Read wrote: > Can you provide the code that generates the data for this class? These few lines will actually reproduce the bug: > (defclass test-class () ((test :initarg :test :accessor test :index t)) (:metaclass persistent-metaclass)) # > (make-instance 'test-class :test "OpenH

Re: [elephant-devel] Backend tests problem / OS X 10.4.10 / SBCL 1.0.6

2007-09-04 Thread Ian Eslick
That's the latest patch of 0.9.0 and should be solid. I'll investigate when I get some time if Robert or someone else doesn't get to it first. Ian On Sep 4, 2007, at 3:21 PM, [EMAIL PROTECTED] wrote: Not quite sure. I'm using the info I was recommended from the list a while back: cvs -

Re: [elephant-devel] Backend tests problem / OS X 10.4.10 / SBCL 1.0.6

2007-09-04 Thread [EMAIL PROTECTED]
Not quite sure. I'm using the info I was recommended from the list a while back: cvs -z3 -d :pserver:anonymous:[EMAIL PROTECTED]:/project/ elephant/cvsroot co elephant Should I be using a different version? Thanks - Daniel On Sep 4, 2007, at 3:16 PM, Ian Eslick wrote: Is this 0.9.0 or th

Re: [elephant-devel] Backend tests problem / OS X 10.4.10 / SBCL 1.0.6

2007-09-04 Thread Ian Eslick
Is this 0.9.0 or the development branch? -Ian On Sep 4, 2007, at 2:50 PM, [EMAIL PROTECTED] wrote: I just downloaded a fresh copy of elephant and ran the backend tests. 1 of 132 tests failed (1 out of 132 total tests failed: INDEXING-RANGE.) Any ideas? Below is the output: ELE-TESTS> (do-

[elephant-devel] Backend tests problem / OS X 10.4.10 / SBCL 1.0.6

2007-09-04 Thread [EMAIL PROTECTED]
I just downloaded a fresh copy of elephant and ran the backend tests. 1 of 132 tests failed (1 out of 132 total tests failed: INDEXING- RANGE.) Any ideas? Below is the output: ELE-TESTS> (do-backend-tests) Attempting to load libmemutil.dylib... Loaded /Users/dev/lisp/elephant/src/memutil/libme

Re: [elephant-devel] String class index broken?

2007-09-04 Thread Robert L. Read
Can you provide the code that generates the data for this class? If this is is still a problem for you, I think I will need a complete reproduction to look into it. On Tue, 2007-09-04 at 10:15 +0200, Chris Laux wrote: > Hi all, > > as I couldn't find information about the strange behaviour show

Re: [elephant-devel] String class index broken?

2007-09-04 Thread Chris Laux
Henrik Hjelte wrote: > To make debugging easier, which backend are you using? > /Henrik Hjelte Sorry, forgot about that kind of info: BerkeleyDB 4.5.20 with Elephant 0.9.0 with SBCL 1.0.5 on Linux/x86 32bit. Chris ___ elephant-devel site list elephan

Re: [elephant-devel] String class index broken?

2007-09-04 Thread Henrik Hjelte
To make debugging easier, which backend are you using? /Henrik Hjelte ___ elephant-devel site list elephant-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/elephant-devel

[elephant-devel] String class index broken?

2007-09-04 Thread Chris Laux
Hi all, as I couldn't find information about the strange behaviour shown below elsewhere, I just wanted to report it here. I'm indexing class "user" over slot "nick" that contains strings. When I query the index using all lowercase letters, I get an ambiguous (and wrong!?) response, but when I sti