projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r9026: new deb pkg, new binary pkg
[clsql.git]
/
db-sqlite
/
sqlite-sql.lisp
diff --git
a/db-sqlite/sqlite-sql.lisp
b/db-sqlite/sqlite-sql.lisp
index bc93bb8f53d770c56386e10ef8ff367602518de6..1f3c15855ffdbdd1b16c8ae063ec2fe8488bce40 100644
(file)
--- 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
(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))))
+