Skip to content

Commit 3cee83c

Browse files
committed
Pass the :contained option to TinyTDS. Fixes #527
1 parent 6f4b391 commit 3cee83c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
* Reduce view information reflection to per table vs. column. Fixes #552
66
* The `user_options` parsing. Works for hash/array. Fixes #535
7+
* Pass the `:contained` option to TinyTDS. Fixes #527
78

89

910
## v5.0.2

lib/active_record/connection_adapters/sqlserver_adapter.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,8 @@ def dblib_connect(config)
363363
login_timeout: config_login_timeout(config),
364364
timeout: config_timeout(config),
365365
encoding: config_encoding(config),
366-
azure: config[:azure]
366+
azure: config[:azure],
367+
contained: config[:contained]
367368
).tap do |client|
368369
if config[:azure]
369370
client.execute('SET ANSI_NULLS ON').do

0 commit comments

Comments
 (0)