Bladeren bron

remove the v3 timestamp stuff for another time

Chris Bannister 10 jaren geleden
bovenliggende
commit
a255b1676d
1 gewijzigde bestanden met toevoegingen van 0 en 10 verwijderingen
  1. 0 10
      session.go

+ 0 - 10
session.go

@@ -368,9 +368,6 @@ type Query struct {
 	binding      func(q *QueryInfo) ([]interface{}, error)
 	attempts     int
 	totalLatency int64
-
-	// v3+ send client timestamp in query
-	sendTimestamp bool
 }
 
 //Attempts returns the number of times the query was executed.
@@ -516,13 +513,6 @@ func (q *Query) Bind(v ...interface{}) *Query {
 	return q
 }
 
-// SendTimestamp will send the current time on the client when sending the query
-// on protocol3 and above. This allows
-func (q *Query) SendTimestamp(b bool) *Query {
-	q.sendTimestamp = b
-	return q
-}
-
 // Exec executes the query without returning any rows.
 func (q *Query) Exec() error {
 	iter := q.Iter()