[elephant-devel] SQLite locking error / BDB multi-image support
Leslie P. Polzer
leslie.polzer at gmx.net
Mon Feb 25 13:34:29 UTC 2008
> To isolate the problem, can you verify the base case, connect two
> images to a fresh db?
Here's one for SQLite:
(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 '(:CLSQL (:SQLITE3 "/tmp/db1.sqlite")))
(setf item (make-instance 'myclass))
(dotimes (i 100000)
(write-char #\*)(SB-INT:FLUSH-STANDARD-OUTPUT-STREAMS)
(setf (testslot item) 5))
The second image failed already at MAKE-INSTANCE.
Leslie
More information about the elephant-devel
mailing list