Skip to content

Commit

Permalink
Add ApplicationIntent=ReadOnly to connection string (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosimon authored Mar 2, 2021
1 parent b1dbd39 commit 6d8319e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tap_mssql/config.clj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
:host (config "host")
:port (or (config "port") 0) ;; port is optional - if omitted it is set to 0 for a dynamic port
:password (config "password")
:user (config "user")}
:user (config "user")
:ApplicationIntent "ReadOnly"}
conn-map (if (= "true" (config "ssl"))
;; TODO: The only way I can get a test failure is by
;; changing the code to say ":trustServerCertificate
Expand Down

0 comments on commit 6d8319e

Please sign in to comment.