Skip to content

Commit 34a1890

Browse files
committed
remove unused code
1 parent cd0a1bc commit 34a1890

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
@@ -295,12 +295,7 @@ type queryOptions struct {
295295
}
296296

297297
func newQueryOptions(q *Query, ctx context.Context) *queryOptions {
298-
var newPageState, newRoutingKey []byte
299-
if q.initialPageState != nil {
300-
pageState := q.initialPageState
301-
newPageState = make([]byte, len(pageState))
302-
copy(newPageState, pageState)
303-
}
298+
var newRoutingKey []byte
304299
if q.routingKey != nil {
305300
routingKey := q.routingKey
306301
newRoutingKey = make([]byte, len(routingKey))

0 commit comments

Comments
 (0)