summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorMilos Negovanovic <milos.negovanovic@gmail.com>2014-10-21 15:55:02 +0100
committerMilos Negovanovic <milos.negovanovic@gmail.com>2014-10-21 15:55:02 +0100
commit11a2cfb306e50d50eb5c9a35864f5dbbfdabe75f (patch)
tree32157d08684ec995313eb11c80c22ee4157d3c8f /lib
parentf5cd0a63ad5a8257f4877079a51e0e22ba7fb90a (diff)
downloadNim-11a2cfb306e50d50eb5c9a35864f5dbbfdabe75f.tar.gz
Add comment.
Diffstat (limited to 'lib')
-rw-r--r--lib/impure/db_mysql.nim1
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, "''")