With sqlite backend from time to time I have error "Error 5 / database is
locked"
I have workarounded this by wrapping calls to cl-sql with
(defmacro wrapper-submacro (name &rest q)
`(loop
(handler-case
(return (,name ,@q))
(clsql:sql-condition ()
(sleep .05)))))
I think using sqlite3_busy_timeout call is more elegant solution.
But calling sqlite functions via UFFI directly from elephant doesnt seem to
be a good idea.
Any suggestions?
_______________________________________________
elephant-devel site list
[email protected]
http://common-lisp.net/mailman/listinfo/elephant-devel