# File lib/new_relic/agent/transaction/datastore_segment.rb, line 61 def _notice_sql sql, config=nil, explainer=nil, binds=nil, name=nil return unless record_sql? @sql_statement = Database::Statement.new sql, config, explainer, binds, name, host, port_path_or_id, database_name end