Skip to content

Commit 526619d

Browse files
committed
remove unused code
1 parent 3ec5826 commit 526619d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

query_executor.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -297,12 +297,7 @@ type queryOptions struct {
297297
}
298298

299299
func newQueryOptions(q *Query, ctx context.Context) *queryOptions {
300-
var newPageState, newRoutingKey []byte
301-
if q.initialPageState != nil {
302-
pageState := q.initialPageState
303-
newPageState = make([]byte, len(pageState))
304-
copy(newPageState, pageState)
305-
}
300+
var newRoutingKey []byte
306301
if q.routingKey != nil {
307302
routingKey := q.routingKey
308303
newRoutingKey = make([]byte, len(routingKey))

0 commit comments

Comments
 (0)