Deallocate takes context
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user