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:
Dimitri Fontaine 2016-03-02 16:20:55 +01:00
parent eaa5807244
commit b026a860c1

View File

@ -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)