ups
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11775 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
c7fad50342
commit
f56187c091
@ -145,7 +145,7 @@ int Sql_GetColumnNames(Sql* self, const char* table, char* out_buf, size_t buf_l
|
|||||||
/// Changes the encoding of the connection.
|
/// Changes the encoding of the connection.
|
||||||
int Sql_SetEncoding(Sql* self, const char* encoding)
|
int Sql_SetEncoding(Sql* self, const char* encoding)
|
||||||
{
|
{
|
||||||
if( self && mysql_set_character_set(self->handle, encoding) )
|
if( self && mysql_set_character_set(&self->handle, encoding) )
|
||||||
return SQL_SUCCESS;
|
return SQL_SUCCESS;
|
||||||
return SQL_ERROR;
|
return SQL_ERROR;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user