make more tests green
This commit is contained in:
parent
18859cbaa1
commit
94684488d6
5 changed files with 8 additions and 38 deletions
|
|
@ -105,7 +105,6 @@ proc dbError*(db: DbConn) {.noreturn.} =
|
|||
|
||||
proc dbQuote*(s: string): string =
|
||||
## DB quotes the string.
|
||||
if s.isNil: return "NULL"
|
||||
result = "'"
|
||||
for c in items(s):
|
||||
if c == '\'': add(result, "''")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue