From ff8489e65681114e10eb1fa0d9ac4c216489a8de Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Sat, 14 Jun 2014 23:31:34 +0200 Subject: [PATCH] Fix internal API in sqlite, using report-full-summary. --- src/sources/sqlite.lisp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/sources/sqlite.lisp b/src/sources/sqlite.lisp index c93ef2f..a02cc09 100644 --- a/src/sources/sqlite.lisp +++ b/src/sources/sqlite.lisp @@ -321,13 +321,8 @@ (lp:end-kernel)) ;; and report the total time spent on the operation - (report-summary :state state-before) - (report-summary :header nil :footer nil) - (format t pgloader.utils::*header-line*) - (report-summary :state idx-state :header nil :footer nil) - (report-summary :state seq-state :header nil :footer nil) - ;; don't forget to add up the RESET SEQUENCES timings - (incf (pgloader.utils::pgstate-secs *state*) - (pgloader.utils::pgstate-secs seq-state)) - (report-pgstate-stats *state* "Total streaming time"))) + (report-full-summary "Total streaming time" *state* + :before state-before + :finally seq-state + :parallel idx-state)))