Added SQL_SetCharset native to (re)set character set (bug 5999, r=ds).
This commit is contained in:
@@ -83,4 +83,7 @@ int MysqlDatabase::QuoteString(const char *str, char buffer[], size_t maxlen, si
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
bool MysqlDatabase::SetCharacterSet(const char *characterset)
|
||||
{
|
||||
return mysql_set_character_set(m_pMysql, characterset) == 0 ? true : false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user