We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a1e933 commit 60cc870Copy full SHA for 60cc870
test/db/mysql/simple_test.rb
@@ -222,8 +222,10 @@ def test_mysql_indexes
222
223
test 'sets default connection properties' do
224
connection = ActiveRecord::Base.connection.jdbc_connection(true)
225
- assert_equal 'false', connection.properties['jdbcCompliantTruncation']
226
- assert_equal 'true' , connection.properties['useUnicode']
+ if connection.java_class.name =~ /^com.mysql.jdbc/
+ assert_equal 'true' , connection.properties['useUnicode']
227
+ assert_equal 'false', connection.properties['jdbcCompliantTruncation']
228
+ end
229
end if defined? JRUBY_VERSION
230
231
test "config :host" do
0 commit comments