From 044a55ad2c2dae2f3c28ab2519f5e6ca7bdba012 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Wed, 24 Apr 2019 13:44:25 -0500 Subject: [PATCH] Remove unused Batch.resultsRead --- batch.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/batch.go b/batch.go index a4184478..aacda58e 100644 --- a/batch.go +++ b/batch.go @@ -18,11 +18,10 @@ type batchItem struct { // Batch queries are a way of bundling multiple queries together to avoid // unnecessary network round trips. type Batch struct { - conn *Conn - items []*batchItem - resultsRead int - ctx context.Context - err error + conn *Conn + items []*batchItem + ctx context.Context + err error mrr *pgconn.MultiResultReader }