diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-11-18 23:06:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 23:06:16 +0100 |
commit | 2773efa03463edc6c98614d895cc21221080f6cf (patch) | |
tree | 9090219b12b5aac00162fdcdd42cb378302d71da | |
parent | b9eb91cbb5c8104955e595808d4b4d388894d406 (diff) | |
download | Nim-2773efa03463edc6c98614d895cc21221080f6cf.tar.gz |
fixes db_mysql broken quoting; refs https://github.com/nim-lang/Nim/commit/c16ee37a7106c645a0d17cc6bd8d399e20f61d96#r44209990 [backport:1.4] (#16035)
-rw-r--r-- | lib/impure/db_mysql.nim | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/impure/db_mysql.nim b/lib/impure/db_mysql.nim index 82f27537c..f0d9d8540 100644 --- a/lib/impure/db_mysql.nim +++ b/lib/impure/db_mysql.nim @@ -130,7 +130,6 @@ proc dbQuote*(s: string): string = of '\r': result.add "\\r" of '\x1a': result.add "\\Z" of '"': result.add "\\\"" - of '%': result.add "\\%" of '\'': result.add "\\'" of '\\': result.add "\\\\" of '_': result.add "\\_" |