Skip to content

Commit

Permalink
Merge pull request #110 from alextrofymenko/patch-1
Browse files Browse the repository at this point in the history
Limit tables to catalog specified on connection
  • Loading branch information
weavejester committed Oct 11, 2016
2 parents 7ca00d6 + 82044ac commit cc32ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ragtime.jdbc/src/ragtime/jdbc.clj
Expand Up @@ -19,7 +19,7 @@
(defn- get-table-names* [conn]
(-> conn
(.getMetaData)
(.getTables nil nil "%" nil)
(.getTables (.getCatalog conn) nil "%" nil)
(sql/metadata-result {:row-fn :table_name})))

(defn- get-table-names [db-spec]
Expand Down

0 comments on commit cc32ed6

Please sign in to comment.