Clarify SQL_EscapeString usage

It's hard to see the difference between 2 single-quotes and 1 double-quote unless you highlight it.
This commit is contained in:
Corey D 2021-08-22 10:33:33 +10:00 committed by Your Name
parent 6250db7dba
commit 383cd81be6

View File

@ -635,8 +635,8 @@ native bool SQL_GetError(Handle hndl, char[] error, int maxlength);
* the database's character set. * the database's character set.
* *
* NOTE: SourceMod only guarantees properly escaped strings when the query * NOTE: SourceMod only guarantees properly escaped strings when the query
* encloses the string in ''. While drivers tend to allow " instead, the string * encloses the string in ''. While drivers tend to allow "" instead,
* may be not be escaped (for example, on SQLite)! * the string may be not be escaped (for example, on SQLite)!
* *
* @param database A database Handle. * @param database A database Handle.
* @param string String to quote. * @param string String to quote.