From 3ca59162963fa3977659b9e6c987c70df38028ea Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 4 Nov 2022 15:06:44 +0530 Subject: Revert "Put isql commands on a single line." This reverts commit 5aecbcd3e59119533658b792c6dafa0c6efd9d5b. Despite putting commands on a single line, isql still echoes and leaks the password. --- load-rdf.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/load-rdf.scm b/load-rdf.scm index b432a83..4cd7841 100755 --- a/load-rdf.scm +++ b/load-rdf.scm @@ -152,8 +152,12 @@ authenticating as the dba user with PASSWORD." (call-with-pipe (lambda (out) (format out - "SET DSN=localhost:~a; SET PWD=~a; DELETE FROM rdf_quad WHERE g = iri_to_id ('~a');" - port password graph)) + "SET DSN=localhost:~a; +SET PWD=~a; +DELETE FROM rdf_quad WHERE g = iri_to_id ('~a');" + port + password + graph)) OPEN_WRITE "isql")) -- cgit v1.2.3