File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -153,19 +153,17 @@ We currently conform to an unpublished and non-standard AbstractAdapter interfac
153153
154154``` ruby
155155module ActiveRecord
156- class Base
157- module ConnectionAdapters
158- class SQLServerAdapter < AbstractAdapter
156+ module ConnectionAdapters
157+ class SQLServerAdapter < AbstractAdapter
159158
160- def configure_connection
161- do_execute " SET TEXTSIZE #{ 64 .megabytes} "
162- end
163-
164- def configure_application_name
165- " myapp_#{ $$ } _#{ Thread .current.object_id} " .to(29 )
166- end
159+ def configure_connection
160+ raw_connection_do " SET TEXTSIZE #{ 64 .megabytes} "
161+ end
167162
163+ def configure_application_name
164+ " myapp_#{ $$ } _#{ Thread .current.object_id} " .to(29 )
168165 end
166+
169167 end
170168 end
171169end
You can’t perform that action at this time.
0 commit comments