#include <MysqlDb.h>
Public Member Functions | |
MysqlDb () | |
virtual | ~MysqlDb () |
virtual bool | Connect (const char *aHost, const char *aUser, const char *aPasswd, const char *aDb, const int aPort=0) |
virtual bool | reConnect () |
virtual unsigned | NbRows () |
virtual unsigned | NbFields () |
virtual void | Release () |
virtual char * | printQuery () |
virtual bool | InputStart (const char *aName, StDbBuffer *aBuff, const char *colList, int nRows, bool &hasBinary) |
virtual bool | InputRow (StDbBuffer *aBuff, int row) |
virtual bool | InputEnd () |
virtual bool | Input (const char *aName, StDbBuffer *aBuff) |
virtual bool | Output (StDbBuffer *aBuff) |
MysqlDb & | operator<< (const char *c) |
MysqlDb & | operator<< (const string s) |
MysqlDb & | operator<< (const MysqlBin *aBin) |
MysqlDb & | operator<< (const short aq) |
MysqlDb & | operator<< (const unsigned short aq) |
MysqlDb & | operator<< (const int aq) |
MysqlDb & | operator<< (const unsigned int aq) |
MysqlDb & | operator<< (const long long aq) |
MysqlDb & | operator<< (const float aq) |
MysqlDb & | operator<< (const double aq) |
char ** | DecodeStrArray (char *strinput, int &aLen) |
char * | CodeStrArray (char **strarr, int aLen) |
virtual int | GetLastInsertID () |
virtual bool | QueryStatus () |
virtual bool | checkForTable (const char *tableName) |
virtual void | Close () |
virtual bool | IsConnected () |
virtual bool | setDefaultDb (const char *dbName) |
Public Attributes | |
bool | mlogTime |
StDbLogger | mqueryLog |
StDbLogger | msocketLog |
StDbLogger | mconnectLog |
StDbManagerImpl * | my_manager |
Protected Member Functions | |
virtual void | RazQuery () |
virtual bool | ExecQuery () |
Private Member Functions | |
std::vector< std::string >::iterator | RecommendedServer (std::vector< std::string > *ListToUse, char *socket, int port) |
Private Attributes | |
MYSQL | mData |
char * | mQuery |
unsigned long int | mQueryLen |
char * | mQueryLast |
MysqlResult * | mRes |
bool | mqueryState |
bool | mhasConnected |
bool | mhasBinaryQuery |
char * | mdbhost |
char * | mdbName |
char * | mdbuser |
char * | mdbpw |
int | mdbPort |
char * | mdbServerVersion |
unsigned int | mtimeout |
int | jfields |
char * | cnames [200] |
bool | isBlob [200] |
bool | isBinary [200] |
bool | isSpecialType [200] |
|
Definition at line 213 of file MysqlDb.cc.
|
|
Definition at line 225 of file MysqlDb.cc.
|
|
Definition at line 429 of file MysqlDb.cc.
|
|
Definition at line 286 of file MysqlDb.h.
|
|
Definition at line 829 of file MysqlDb.cc.
|
|
Definition at line 328 of file MysqlDb.cc.
|
|
Definition at line 767 of file MysqlDb.cc.
|
|
Definition at line 441 of file MysqlDb.cc.
|
|
Definition at line 264 of file MysqlDb.h.
|
|
Definition at line 627 of file MysqlDb.cc.
|
|
Definition at line 617 of file MysqlDb.cc.
|
|
Definition at line 578 of file MysqlDb.cc.
|
|
Definition at line 519 of file MysqlDb.cc.
|
|
Definition at line 268 of file MysqlDb.h.
|
|
Definition at line 235 of file MysqlDb.h.
|
|
Definition at line 234 of file MysqlDb.h.
|
|
Definition at line 325 of file MysqlDb.h.
|
|
Definition at line 320 of file MysqlDb.h.
|
|
Definition at line 315 of file MysqlDb.h.
|
|
Definition at line 310 of file MysqlDb.h.
|
|
Definition at line 305 of file MysqlDb.h.
|
|
Definition at line 300 of file MysqlDb.h.
|
|
Definition at line 295 of file MysqlDb.h.
|
|
Definition at line 502 of file MysqlDb.cc.
|
|
Definition at line 291 of file MysqlDb.h.
|
|
Definition at line 473 of file MysqlDb.cc.
|
|
Definition at line 704 of file MysqlDb.cc.
|
|
Definition at line 401 of file MysqlDb.cc.
|
|
Definition at line 265 of file MysqlDb.h.
|
|
Definition at line 404 of file MysqlDb.cc.
|
|
|
|
Definition at line 287 of file MysqlDb.cc.
|
|
Definition at line 236 of file MysqlDb.h.
|
|
Definition at line 867 of file MysqlDb.cc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|