2
0

Remove unused Batch field

This commit is contained in:
Jack Christensen
2019-04-24 13:40:54 -05:00
parent 2263521f70
commit d5c510b590
+6 -7
View File
@@ -18,13 +18,12 @@ type batchItem struct {
// Batch queries are a way of bundling multiple queries together to avoid // Batch queries are a way of bundling multiple queries together to avoid
// unnecessary network round trips. // unnecessary network round trips.
type Batch struct { type Batch struct {
conn *Conn conn *Conn
items []*batchItem items []*batchItem
resultsRead int resultsRead int
pendingCommandComplete bool ctx context.Context
ctx context.Context err error
err error inTx bool
inTx bool
mrr *pgconn.MultiResultReader mrr *pgconn.MultiResultReader
} }