Skip to content

Commit

Permalink
Revert inadvertent change brought in from HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Kayser committed Jul 17, 2008
1 parent 4049860 commit f4f88f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/newrelic/agent/instrumentation/active_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def log_with_newrelic_instrumentation(sql, name, &block)
# we check scope_depth vs 2 since the controller is 1, and the
#
if NewRelic::Agent.instance.transaction_sampler.scope_depth < 2
self.class.trace_method_execution "Database/DirectSQL", true, true, false do
self.class.trace_method_execution "Database/DirectSQL", true, true do
log_with_capture_sql(sql, name, &block)
end
else
Expand Down Expand Up @@ -100,4 +100,4 @@ class HasManyAssociation

end

end
end

0 comments on commit f4f88f4

Please sign in to comment.