Skip to content

Commit 709738d

Browse files
fix: add SetStat(nil) cleanup for perftrace file handles
1 parent 3b3ca33 commit 709738d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmd/sqlcmd/sqlcmd.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,7 @@ func run(vars *sqlcmd.Variables, args *SQLCmdArguments) (int, error) {
909909
}
910910
s.SetOutput(nil)
911911
s.SetError(nil)
912+
s.SetStat(nil)
912913
return s.Exitcode, err
913914
}
914915

0 commit comments

Comments
 (0)