prepared statement: fix single quotes

This commit is contained in:
Cadey Ratio 2017-08-29 21:49:34 +00:00
parent 40a5e952d2
commit 720fa5f851
1 changed files with 1 additions and 2 deletions

View File

@ -12,8 +12,7 @@ func EscapeString(value string) string {
{`\0`, `\\0`},
{`\n`, `\\n`},
{`\r`, `\\r`},
{`"`, `\"`},
{`'`, `\'`},
{`'`, `''`},
}
for _, val := range replace {