Added SQL_SetCharset native to (re)set character set (bug 5999, r=ds).

This commit is contained in:
Arkshine
2014-04-18 22:04:32 +02:00
parent 19e160117f
commit 3d732bbbb6
12 changed files with 94 additions and 1 deletions

View File

@@ -63,6 +63,7 @@ public:
~MysqlThread();
public:
void SetInfo(const char *host, const char *user, const char *pass, const char *db, int port, unsigned int max_timeout);
void SetCharacterSet(const char *charset);
void SetQuery(const char *query);
void SetCellData(cell data[], ucell len);
void SetForward(int forward);
@@ -78,6 +79,7 @@ private:
SourceHook::String m_pass;
SourceHook::String m_db;
unsigned int m_max_timeout;
SourceHook::String m_charset;
int m_port;
cell *m_data;
ucell m_datalen;