projects
/
clsql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704367c
)
Bind *test-database-user* correctly for odbc.
author
Nathan Bird
<nathan@acceleration.net>
Sat, 23 Jan 2010 19:02:11 +0000
(14:02 -0500)
committer
Nathan Bird
<nathan@acceleration.net>
Tue, 26 Jan 2010 20:49:09 +0000
(15:49 -0500)
per documentation :odbc and :aodbc have their user in the second slot of the connection spec.
This causes a number more tests to fail that used to pass because this variable wasn't right.
tests/test-init.lisp
patch
|
blob
|
history
diff --git
a/tests/test-init.lisp
b/tests/test-init.lisp
index 8e1cc48569e3401bd5798acf4cc088015ee2d081..1a8ab66aa2e61608d56b3608aa583f8e8646b461 100644
(file)
--- a/
tests/test-init.lisp
+++ b/
tests/test-init.lisp
@@
-44,7
+44,7
@@
(setf *test-database-type* db-type)
(setf *test-database-user*
(cond
- ((
eq :oracle db-type
) (second spec))
+ ((
member db-type '(:oracle :odbc :aodbc)
) (second spec))
((>= (length spec) 3) (third spec))))
;; Connect to the database