Add comment.

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

View file

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