Remove unused Batch.ctx

pull/483/head
Jack Christensen 2019-04-24 16:02:23 -05:00
parent c7d03eb555
commit 3795c7131a
1 changed files with 0 additions and 3 deletions

View File

@ -20,7 +20,6 @@ type batchItem struct {
type Batch struct {
conn *Conn
items []*batchItem
ctx context.Context
err error
mrr *pgconn.MultiResultReader
@ -55,8 +54,6 @@ func (b *Batch) Send(ctx context.Context) error {
return b.err
}
b.ctx = ctx
batch := &pgconn.Batch{}
for _, bi := range b.items {