diff options
author | Arun Isaac | 2022-11-04 15:06:44 +0530 |
---|---|---|
committer | Arun Isaac | 2022-11-04 15:06:44 +0530 |
commit | 3ca59162963fa3977659b9e6c987c70df38028ea (patch) | |
tree | 8de4ee61aa7b8eb7315c0c3948ef6f880e3dffa0 | |
parent | 5aecbcd3e59119533658b792c6dafa0c6efd9d5b (diff) | |
download | gn-transform-databases-3ca59162963fa3977659b9e6c987c70df38028ea.tar.gz |
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.
-rwxr-xr-x | load-rdf.scm | 8 |
1 files 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")) |