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:
parent
2acf6ac13f
commit
948b6dd91b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue