X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=db-sqlite%2Fsqlite-sql.lisp;h=1f3c15855ffdbdd1b16c8ae063ec2fe8488bce40;hb=d2df77ea1494c4801d071c8f0e5f7886fd018da9;hp=bc93bb8f53d770c56386e10ef8ff367602518de6;hpb=2ae9ee745ff9e17806178e1999b880acc64ab894;p=clsql.git diff --git a/db-sqlite/sqlite-sql.lisp b/db-sqlite/sqlite-sql.lisp index bc93bb8..1f3c158 100644 --- a/db-sqlite/sqlite-sql.lisp +++ b/db-sqlite/sqlite-sql.lisp @@ -298,7 +298,9 @@ (defmethod database-probe (connection-spec (type (eql :sqlite))) (destructuring-bind (name) connection-spec - ;; TODO: Add a test that this file is a real sqlite database - (and (probe-file name) t))) + ;; TODO: Add a test that this file is a real sqlite database + (or (string-equal ":memory:" name) + (and (probe-file name) t)))) +