escape % signs

This commit is contained in:
Patrick Nagurny
2018-12-27 15:31:50 -05:00
parent cf1d312f9e
commit 291538e341
2 changed files with 4 additions and 0 deletions

View File

@@ -63,6 +63,9 @@ func (db *DB) Escape(sql string) string {
break
case '\032': /* This gives problems on Win32 */
escape = 'Z'
break
case '%':
escape = '%'
}
if escape != 0 {