浏览代码

remove the v3 timestamp stuff for another time

Chris Bannister 10 年之前
父节点
当前提交
a255b1676d
共有 1 个文件被更改,包括 0 次插入10 次删除
  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()