mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Pass the connection
to the @instrumenter.instrument
method call
This commit is contained in:
parent
e7717ec7a0
commit
6d1c9a9b23
1 changed files with 2 additions and 1 deletions
|
@ -631,7 +631,8 @@ module ActiveRecord
|
|||
binds: binds,
|
||||
type_casted_binds: type_casted_binds,
|
||||
statement_name: statement_name,
|
||||
connection_id: object_id) do
|
||||
connection_id: object_id,
|
||||
connection: self) do
|
||||
begin
|
||||
@lock.synchronize do
|
||||
yield
|
||||
|
|
Loading…
Reference in a new issue