Skip to content

Commit 60fcc77

Browse files
committed
fix get ok count
1 parent 6f23281 commit 60fcc77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/greenplum-to-pg-tests/cmd/check_pg_queries.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ func (s *QueryStats) GetTotalCount() int {
522522

523523
func (s *QueryStats) GetOkCount() int {
524524
s.m.Lock()
525-
defer s.m.Lock()
525+
defer s.m.Unlock()
526526

527527
return s.okCount
528528
}

0 commit comments

Comments
 (0)