Skip to content

Commit 9f60ae1

Browse files
committed
Pass the :contained option to TinyTDS. Fixes #527
1 parent 10e9eab commit 9f60ae1

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## v4.2.18
2+
3+
#### Changed
4+
5+
* Pass the `:contained` option to TinyTDS. Fixes #527
6+
7+
18
## v4.2.17
29

310
#### Changed

lib/active_record/connection_adapters/sqlserver_adapter.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,8 @@ def dblib_connect(config)
327327
login_timeout: config_login_timeout(config),
328328
timeout: config_timeout(config),
329329
encoding: config_encoding(config),
330-
azure: config[:azure]
330+
azure: config[:azure],
331+
contained: config[:contained]
331332
).tap do |client|
332333
if config[:azure]
333334
client.execute('SET ANSI_NULLS ON').do

0 commit comments

Comments
 (0)