mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
Fix MS SQL fetch metadata function.
It should return the fetched catalog rather than the count of objects, which is only used for statistics purposes. Fix #349. This problem once again shows that we lack proper testing environment for MS SQL source :/
This commit is contained in:
parent
eaa5807244
commit
b026a860c1
@ -83,5 +83,8 @@
|
||||
|
||||
;; return how many objects we're going to deal with in total
|
||||
;; for stats collection
|
||||
(+ (count-tables catalog) (count-indexes catalog)))))
|
||||
(+ (count-tables catalog) (count-indexes catalog))))
|
||||
|
||||
;; be sure to return the catalog itself
|
||||
catalog)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user