File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
lib/active_record/connection_adapters/sqlserver Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11## v4.2.18
22
3+ ## Fixed
4+
5+ * Add ` WITH NO_INFOMSGS ` to ` user_options ` method. Fixes #580
6+
37#### Changed
48
59* Pass the ` :contained ` option to TinyTDS. Fixes #527
Original file line number Diff line number Diff line change 1- 4.2.17
1+ 4.2.18
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ def use_database(database = nil)
154154
155155 def user_options
156156 return { } if sqlserver_azure?
157- rows = select_rows ( 'dbcc useroptions ' , 'SCHEMA' )
157+ rows = select_rows ( 'DBCC USEROPTIONS WITH NO_INFOMSGS ' , 'SCHEMA' )
158158 rows = rows . first if rows . size == 2 && rows . last . empty?
159159 rows . reduce ( HashWithIndifferentAccess . new ) do |values , row |
160160 if row . instance_of? Hash
You can’t perform that action at this time.
0 commit comments