diff options
author | Munyoki Kilyungi | 2023-04-05 15:01:12 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-04-05 16:17:11 +0300 |
commit | 18f3d6b2635fba32cc7b522550f2485613f7e863 (patch) | |
tree | 7dbbc423186a03b4cac04052015f185eb7241733 | |
parent | 485a840824f3d41cb78c402347d4feb1859b4753 (diff) | |
download | gn-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-x | load-rdf.scm | 2 |
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 |