1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

test_binary_data_is_not_logged is for prepared statements logging

This commit is contained in:
Ryuta Kamizono 2015-11-05 17:39:53 +09:00
parent 2acf6ac13f
commit 948b6dd91b

View file

@ -209,7 +209,7 @@ class LogSubscriberTest < ActiveRecord::TestCase
Thread.new { assert_equal 0, ActiveRecord::LogSubscriber.runtime }.join
end
unless current_adapter?(:Mysql2Adapter)
if ActiveRecord::Base.connection.prepared_statements
def test_binary_data_is_not_logged
Binary.create(data: 'some binary data')
wait