Skip to content

Commit

Permalink
dont trace for internal queries (apache#1199)
Browse files Browse the repository at this point in the history
  • Loading branch information
beltran authored and Zariel committed Oct 9, 2018
1 parent fb83229 commit 39a77fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,7 @@ func (c *Conn) executeBatch(batch *Batch) *Iter {

func (c *Conn) query(statement string, values ...interface{}) (iter *Iter) {
q := c.session.Query(statement, values...).Consistency(One)
q.trace = nil
return c.executeQuery(q)
}

Expand Down

0 comments on commit 39a77fa

Please sign in to comment.