fixes db_mysql broken quoting; refs c16ee37a71 (r44209990) [backport:1.4] (#16035)

This commit is contained in:
Andreas Rumpf 2020-11-18 23:06:16 +01:00 • committed by GitHub
commit 2773efa034
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,7 +130,6 @@ proc dbQuote*(s: string): string =
of '\r': result.add "\\r" of '\r': result.add "\\r"
of '\x1a': result.add "\\Z" of '\x1a': result.add "\\Z"
of '"': result.add "\\\"" of '"': result.add "\\\""
of '%': result.add "\\%"
of '\'': result.add "\\'" of '\'': result.add "\\'"
of '\\': result.add "\\\\" of '\\': result.add "\\\\"
of '_': result.add "\\_" of '_': result.add "\\_"