Skip to content

Commit

Permalink
Fix stats collections in some cases.
Browse files Browse the repository at this point in the history
Calling a -with-timing from within a with-stats-collection macro is
redundant and will have the numbers counted twice. Which in this case
didn't happen because the stats label was manually copied, but borked
with a typo in one copy.
  • Loading branch information
dimitri committed Aug 28, 2016
1 parent 0b06bc6 commit f2dcf98
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/pgsql/pgsql-create-schema.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,10 @@
(lp:end-kernel :wait t))

;; turn unique indexes into pkeys now
(with-stats-collection ("Constraints" :section section)
(pgsql-connect-and-execute-with-timing target
section
"Constrants"
pkeys)))))))
(pgsql-connect-and-execute-with-timing target
section
"Constraints"
pkeys))))))


;;;
Expand Down

0 comments on commit f2dcf98

Please sign in to comment.