An issue exists where quotes are always backslash-escaped regardless of the session SQL mode. When the MySQL server is configured with the `NO BACKSLASH ESCAPES` sql mode enabled, attackers can provide crafted values through `?` placeholders in `connection.query()` to close string literals and append arbitrary SQL, leading to unauthorized data disclosure or modification. This affects the `Connection.format()` and `Connection.escape()` functions. Prepared statements using `connection.execute()` are not affected.