mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
Load libsybdb even in --dry-run mode, fix #295.
This commit is contained in:
parent
78c6bf097a
commit
f6aa8210b9
@ -142,6 +142,10 @@
|
||||
;;; LOAD DATABASE FROM mssql://
|
||||
(defun lisp-code-for-mssql-dry-run (ms-db-conn pg-db-conn)
|
||||
`(lambda ()
|
||||
;; now is the time to load the CFFI lib we need (freetds)
|
||||
(log-message :log "Loading the FreeTDS shared librairy (sybdb)")
|
||||
(cffi:load-foreign-library 'mssql::sybdb)
|
||||
|
||||
(log-message :log "DRY RUN, only checking connections.")
|
||||
(check-connection ,ms-db-conn)
|
||||
(check-connection ,pg-db-conn)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user