File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -801,10 +801,16 @@ class AdapterTestSqlserver < ActiveRecord::TestCase
801801end
802802
803803
804- class AdapterTest < ActiveRecord ::TestCase
804+ module ActiveRecord
805+ class AdapterTest < ActiveRecord ::TestCase
806+
805807 COERCED_TESTS = [ :test_update_prepared_statement ]
806808 # Like PostgreSQL, SQL Server does not support null bytes in strings.
809+ # DECLARE @mybin1 binary(5), @mybin2 binary(5)
810+ # SET @mybin1 = 0x00
811+ # SELECT 'a'+CONVERT(varchar(5), @mybin1) + 'aaaaa'
807812 # This is not run for PostgreSQL at the rails level and the same should happen for SQL Server
808813 # Until that patch is made to rails we are preventing this test from running in this gem.
809- include SqlserverCoercedTest
814+ include SqlserverCoercedTest
815+ end
810816end
You can’t perform that action at this time.
0 commit comments