Fix #576. Don't set timestamp or sequence numbers when listing cq

pull/567/merge
John Shahid 2014-05-23 15:11:48 -04:00
parent 67c30bc63f
commit 1f7fd3129c
1 changed files with 0 additions and 5 deletions

View File

@ -12,7 +12,6 @@ import (
"regexp"
"strings"
"sync"
"time"
log "code.google.com/p/log4go"
)
@ -733,15 +732,11 @@ func (self *CoordinatorImpl) ListContinuousQueries(user common.User, db string)
for _, query := range queries {
queryId := int64(query.Id)
queryString := query.Query
timestamp := time.Now().Unix()
sequenceNumber := uint64(1)
points = append(points, &protocol.Point{
Values: []*protocol.FieldValue{
&protocol.FieldValue{Int64Value: &queryId},
&protocol.FieldValue{StringValue: &queryString},
},
Timestamp: &timestamp,
SequenceNumber: &sequenceNumber,
})
}
seriesName := "continuous queries"