projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1657: Auto :types implemented for mysql,postgresql
[clsql.git]
/
test-clsql.cl
diff --git
a/test-clsql.cl
b/test-clsql.cl
index e0478d0ef1bb4f18754d33c8ca1d60c31536481e..2aed1633e5f0729d74634f9803fa3491a3cd113b 100644
(file)
--- a/
test-clsql.cl
+++ b/
test-clsql.cl
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Mar 2002
;;;;
-;;;; $Id: test-clsql.cl,v 1.
4 2002/03/24 22:25:5
1 kevin Exp $
+;;;; $Id: test-clsql.cl,v 1.
6 2002/03/25 14:13:4
1 kevin Exp $
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
@@
-69,7
+69,9
@@
(format nil "INSERT INTO test_clsql VALUES (~d,~d,'~a')"
i (sqrt i) (format nil "~d" (sqrt i)))
:database db))
(format nil "INSERT INTO test_clsql VALUES (~d,~d,'~a')"
i (sqrt i) (format nil "~d" (sqrt i)))
:database db))
- (pprint (clsql:map-query 'vector #'list "select * from test_clsql" :database db))
+ (pprint (clsql:map-query 'vector #'list "select * from test_clsql"
+ :database db
+ :field-types :auto)) ;;'(:int :double t)))
(clsql:execute-command "DROP TABLE test_clsql"))
(clsql:disconnect :database db)))
)
(clsql:execute-command "DROP TABLE test_clsql"))
(clsql:disconnect :database db)))
)