Database.Format destination buffer should not be marked const (#1714)
This commit is contained in:
parent
c5049990a3
commit
77f999f810
@ -393,7 +393,7 @@ methodmap Database < Handle
|
|||||||
// @param format Formatting rules.
|
// @param format Formatting rules.
|
||||||
// @param ... Variable number of format parameters.
|
// @param ... Variable number of format parameters.
|
||||||
// @return Number of cells written.
|
// @return Number of cells written.
|
||||||
public native int Format(const char[] buffer, int maxlength, const char[] format, any ...);
|
public native int Format(char[] buffer, int maxlength, const char[] format, any ...);
|
||||||
|
|
||||||
// Returns whether a database is the same connection as another database.
|
// Returns whether a database is the same connection as another database.
|
||||||
public native bool IsSameConnection(Database other);
|
public native bool IsSameConnection(Database other);
|
||||||
@ -664,7 +664,7 @@ native bool SQL_EscapeString(Handle database,
|
|||||||
* @param ... Variable number of format parameters.
|
* @param ... Variable number of format parameters.
|
||||||
* @return Number of cells written.
|
* @return Number of cells written.
|
||||||
*/
|
*/
|
||||||
native int SQL_FormatQuery(Handle database, const char[] buffer, int maxlength, const char[] format, any ...);
|
native int SQL_FormatQuery(Handle database, char[] buffer, int maxlength, const char[] format, any ...);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is deprecated. Use SQL_EscapeString instead.
|
* This function is deprecated. Use SQL_EscapeString instead.
|
||||||
|
Loading…
Reference in New Issue
Block a user