[elephant-devel] SQLite locking error / BDB multi-image support

Leslie P. Polzer leslie.polzer at gmx.net
Mon Feb 25 13:22:09 UTC 2008


> To isolate the problem, can you verify the base case, connect two
> images to a fresh db?

For BDB:

(asdf:oos 'asdf:load-op 'elephant)

(defpackage #:ele-test (:use :cl :elephant))

(in-package :ele-test)


(defpclass myclass ()
  ((testslot :accessor testslot :initarg testslot :index t)))

(open-store '(:BDB "/tmp/db1") :recover t)

(setf item (make-instance 'myclass))

(setf (testslot item) 5)


I load this in two images. When I then try to access TESTSLOT in the
former, I get the mentioned error.

I'll try to make up something for the SQLite case, too.

FYI, Postmodern doesn't show any problems with my setup.

  Leslie




More information about the elephant-devel mailing list