We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa0f197 commit 674d018Copy full SHA for 674d018
lib/active_record/connection_adapters/sqlserver_adapter.rb
@@ -308,7 +308,7 @@ def connect
308
end
309
310
def dblib_connect(config)
311
- TinyTds::Client.new(
+ options = {
312
dataserver: config[:dataserver],
313
host: config[:host],
314
port: config[:port],
@@ -321,7 +321,9 @@ def dblib_connect(config)
321
timeout: config_timeout(config),
322
encoding: config_encoding(config),
323
azure: config[:azure]
324
- ).tap do |client|
+ }
325
+ puts options.except(:password).inspect
326
+ TinyTds::Client.new(options).tap do |client|
327
if config[:azure]
328
client.execute('SET ANSI_NULLS ON').do
329
client.execute('SET CURSOR_CLOSE_ON_COMMIT OFF').do
0 commit comments