fix sqlite3 w/ place
This commit is contained in:
parent
bb5323e448
commit
177beae5c1
|
@ -13,7 +13,7 @@
|
|||
(mysql-connect
|
||||
mysql-guess-socket-path
|
||||
mysql-password-hash)]
|
||||
[db/private/sqlite3/main
|
||||
["private/sqlite3/place.rkt"
|
||||
(sqlite3-connect
|
||||
sqlite3-available?)]
|
||||
["private/odbc/main.rkt"
|
||||
|
|
|
@ -45,8 +45,7 @@ where <connect-spec> ::= (list 'sqlite3 path/sym mode-sym delay-num limit-num)
|
|||
(sqlite3-connect #:database db
|
||||
#:mode mode
|
||||
#:busy-retry-delay busy-retry-delay
|
||||
#:busy-retry-limit busy-retry-limit
|
||||
#:use-place #f)]
|
||||
#:busy-retry-limit busy-retry-limit)]
|
||||
[(list 'odbc dsn user password strict-param? char-mode)
|
||||
(odbc-connect #:dsn dsn
|
||||
#:user user
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
(#:mode (or/c 'read-only 'read/write 'create)
|
||||
#:busy-retry-limit (or/c exact-nonnegative-integer? +inf.0)
|
||||
#:busy-retry-delay (and/c rational? (not/c negative?))
|
||||
#:use-place any/c
|
||||
#:use-place boolean?
|
||||
#:debug? any/c)
|
||||
connection?)]
|
||||
[sqlite3-available?
|
||||
|
|
Loading…
Reference in New Issue
Block a user