From 62b45e4d16ff941745d38bd270629159294a83d4 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Wed, 6 Dec 2017 20:57:19 +0100 Subject: [PATCH] Fix log type output for summary files. A summary file could be asked for which is not of either csv, json or copy format. Then use the text format. Fix #695. --- src/utils/report.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/report.lisp b/src/utils/report.lisp index a72d739..d86ccd3 100644 --- a/src/utils/report.lisp +++ b/src/utils/report.lisp @@ -31,7 +31,8 @@ (if pathname (cond ((string= "csv" (pathname-type pathname)) 'print-format-csv) ((string= "json" (pathname-type pathname)) 'print-format-json) - ((string= "copy" (pathname-type pathname)) 'print-format-copy)) + ((string= "copy" (pathname-type pathname)) 'print-format-copy) + (t 'print-format-text)) (if (member *client-min-messages* '(:notice :sql :info :debug :data)) 'print-format-verbose