Skip to content

Commit f2dcf98

Browse files
committed
Fix stats collections in some cases.
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.
1 parent 0b06bc6 commit f2dcf98

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/pgsql/pgsql-create-schema.lisp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -315,11 +315,10 @@
315315
(lp:end-kernel :wait t))
316316

317317
;; turn unique indexes into pkeys now
318-
(with-stats-collection ("Constraints" :section section)
319-
(pgsql-connect-and-execute-with-timing target
320-
section
321-
"Constrants"
322-
pkeys)))))))
318+
(pgsql-connect-and-execute-with-timing target
319+
section
320+
"Constraints"
321+
pkeys))))))
323322

324323

325324
;;;

0 commit comments

Comments
 (0)