aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-04-05 15:01:12 +0300
committerBonfaceKilz2023-04-05 16:17:11 +0300
commit18f3d6b2635fba32cc7b522550f2485613f7e863 (patch)
tree7dbbc423186a03b4cac04052015f185eb7241733
parent485a840824f3d41cb78c402347d4feb1859b4753 (diff)
downloadgn-transform-databases-18f3d6b2635fba32cc7b522550f2485613f7e863.tar.gz
Wrap the password in quotes
The password can contain special characters. As such, wrap it in quotes. * load-rdf.scm (delete-graph): Replace "~a" with "~s". Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xload-rdf.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/load-rdf.scm b/load-rdf.scm
index 4cd7841..fcb4f4d 100755
--- a/load-rdf.scm
+++ b/load-rdf.scm
@@ -153,7 +153,7 @@ authenticating as the dba user with PASSWORD."
(lambda (out)
(format out
"SET DSN=localhost:~a;
-SET PWD=~a;
+SET PWD=~s;
DELETE FROM rdf_quad WHERE g = iri_to_id ('~a');"
port
password