diff --git a/lib/impure/db_mysql.nim b/lib/impure/db_mysql.nim index eb4092f37c..ce48a32edf 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, "''")