Add comment.

This commit is contained in:
Milos Negovanovic
2014-10-21 15:55:02 +01:00
parent f5cd0a63ad
commit 11a2cfb306

View File

@@ -58,6 +58,7 @@ when false:
discard mysql_stmt_close(stmt)
proc dbQuote*(s: string): string =
## DB quotes the string.
result = "'"
for c in items(s):
if c == '\'': add(result, "''")