Skip to content

Commit

Permalink
revert query interrupt
Browse files Browse the repository at this point in the history
  • Loading branch information
k-anshul committed Sep 28, 2023
1 parent 1762576 commit 72e8681
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions statement.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,6 @@ func (s *stmt) execute(ctx context.Context, args []driver.NamedValue) (*C.duckdb
select {
// if context is cancelled or deadline exceeded, don't execute further
case <-ctx.Done():
// interrupt the running query
C.duckdb_interrupt(*s.c.con)
return nil, ctx.Err()
default:
// continue
Expand Down

0 comments on commit 72e8681

Please sign in to comment.