diff --git a/statement.go b/statement.go index 606255f8..d64accb9 100644 --- a/statement.go +++ b/statement.go @@ -236,7 +236,7 @@ func (s *stmt) execute(ctx context.Context, args []driver.NamedValue) (*C.duckdb C.duckdb_destroy_result(&res) return nil, errors.New(dbErr) } - + return &res, nil }