parent
4ef255b69d
commit
a43202ea57
1 changed files with 1 additions and 2 deletions
|
|
@ -134,8 +134,7 @@ proc dbQuote*(s: string): string =
|
|||
of '\'': result.add "\\'"
|
||||
of '\\': result.add "\\\\"
|
||||
of '_': result.add "\\_"
|
||||
of Letters+Digits: result.add c
|
||||
else: result.add "\\" & $ord(c)
|
||||
else: result.add c
|
||||
add(result, '\'')
|
||||
|
||||
proc dbFormat(formatstr: SqlQuery, args: varargs[string]): string =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue