2
0

Deallocate takes context

This commit is contained in:
Jack Christensen
2019-04-20 11:34:52 -05:00
parent 1f010f412d
commit 95756b1d7f
3 changed files with 6 additions and 11 deletions
+1 -1
View File
@@ -315,7 +315,7 @@ type Stmt struct {
}
func (s *Stmt) Close() error {
return s.conn.conn.Deallocate(s.ps.Name)
return s.conn.conn.Deallocate(context.Background(), s.ps.Name)
}
func (s *Stmt) NumInput() int {