Skip to content

Commit b94fece

Browse files
committed
Log that prepared_statements enabled for mysql2
Enabling this flag locally prevents the test schema from loading with mysql2, so this commit tests my theory that the ENV var is not making it to the CI job.
1 parent 9add4d9 commit b94fece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/support/connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def self.test_configuration_hashes
2020

2121
def self.connect
2222
ActiveRecord.async_query_executor = :global_thread_pool
23-
puts "Using #{connection_name}"
23+
puts "Using #{connection_name}#{ " with prepared statements" if ENV["MYSQL_PREPARED_STATEMENTS"]}"
2424

2525
if ENV["BUILDKITE"]
2626
ActiveRecord::Base.logger = nil

0 commit comments

Comments
 (0)