diff options
author | Milos Negovanovic <milos.negovanovic@gmail.com> | 2014-10-21 15:55:02 +0100 |
---|---|---|
committer | Milos Negovanovic <milos.negovanovic@gmail.com> | 2014-10-21 15:55:02 +0100 |
commit | 11a2cfb306e50d50eb5c9a35864f5dbbfdabe75f (patch) | |
tree | 32157d08684ec995313eb11c80c22ee4157d3c8f /lib | |
parent | f5cd0a63ad5a8257f4877079a51e0e22ba7fb90a (diff) | |
download | Nim-11a2cfb306e50d50eb5c9a35864f5dbbfdabe75f.tar.gz |
Add comment.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/impure/db_mysql.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/impure/db_mysql.nim b/lib/impure/db_mysql.nim index eb4092f37..ce48a32ed 100644 --- a/lib/impure/db_mysql.nim +++ b/lib/impure/db_mysql.nim @@ -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, "''") |