Make SQL_QuoteString deprecated (#792)

* Make SQL_QuoteString deprecated

* Fix message
This commit is contained in:
Mattia 2018-07-08 17:06:06 +02:00 committed by Nicholas Hastings
parent c09b32010f
commit 70145dfd74

View File

@ -663,9 +663,9 @@ native bool SQL_EscapeString(Handle database,
native int SQL_FormatQuery(Handle database, const char[] buffer, int maxlength, const char[] format, any ...);
/**
* This is a backwards compatibility stock. You should use SQL_EscapeString()
* instead, as this function will probably be deprecated in SourceMod 1.1.
* This function is deprecated. Use SQL_EscapeString instead.
*/
#pragma deprecated Use SQL_EscapeString instead.
stock bool SQL_QuoteString(Handle database,
const char[] string,
char[] buffer,