HCoop
/
hcoop
/
smlsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix string escaping
[hcoop/smlsql.git]
/
libpq
/
pg.sml
diff --git
a/libpq/pg.sml
b/libpq/pg.sml
index
1b99da2
..
09c761a
100644
(file)
--- a/
libpq/pg.sml
+++ b/
libpq/pg.sml
@@
-158,7
+158,7
@@
struct
| xch #"\r" = "\\r"
| xch c = str c
in
| xch #"\r" = "\\r"
| xch c = str c
in
- foldl (fn (c, s) => s ^ xch c) "'" (String.explode s) ^ "'"
+ foldl (fn (c, s) => s ^ xch c) "
E
'" (String.explode s) ^ "'"
end
val stringFromSql = valueOf
end
val stringFromSql = valueOf
@@
-284,4
+284,4
@@
struct
fun boolFromSql v = boolFromSql' (valueOf v)
end
fun boolFromSql v = boolFromSql' (valueOf v)
end
-structure PgClient = SqlClient(PgDriver)
\ No newline at end of file
+structure PgClient = SqlClient(PgDriver)