|
|||
|
|||
|
Inheritance diagram for SQLConnection:


Public Member Functions | |
| SQLConnection (const SQLhost &hi, ModuleSQL *Creator) | |
| ~SQLConnection () | |
| bool | Connect () |
| void | DoLeadingQuery () |
| bool | ConnectionLost () |
| bool | CheckConnection () |
| std::string | GetError () |
| const std::string & | GetID () |
| std::string | GetHost () |
| void | SetEnable (bool Enable) |
| bool | IsEnabled () |
| void | Close () |
| const SQLhost & | GetConfHost () |
Public Attributes | |
| QueryQueue | queue |
| ResultQueue | rq |
Protected Attributes | |
| MYSQL | connection |
| MYSQL_RES * | res |
| MYSQL_ROW | row |
| SQLhost | host |
| std::map< std::string, std::string > | thisrow |
| bool | Enabled |
| ModuleSQL * | Parent |
Definition at line 297 of file m_mysql.cpp.
|
||||||||||||
|
Definition at line 315 of file m_mysql.cpp. |
|
|
Definition at line 319 of file m_mysql.cpp. References Close(). |
|
|
Definition at line 454 of file m_mysql.cpp. References Connect(), and ConnectionLost(). Referenced by DoLeadingQuery(). |
|
|
Definition at line 487 of file m_mysql.cpp. References connection. Referenced by ~SQLConnection(). |
|
|
Definition at line 326 of file m_mysql.cpp. References connection, SQLhost::host, host, SQLhost::name, SQLhost::pass, SQLhost::port, and SQLhost::user. Referenced by CheckConnection(). |
|
|
Definition at line 446 of file m_mysql.cpp. References connection. Referenced by CheckConnection(). |
|
|
Definition at line 334 of file m_mysql.cpp. References CheckConnection(), connection, ConvToStr(), SQLresult::dbid, QueryQueue::front(), GetID(), Request::GetSource(), SQLrequest::id, Mutex::Lock(), NotifyMainThread(), SQLquery::p, Parent, SQLquery::q, SQLresult::query, SQLrequest::query, queue, ModuleSQL::QueueMutex, res, ModuleSQL::ResultsMutex, rq, SQL_QREPLY_FAIL, and Mutex::Unlock(). Referenced by DispatcherThread::Run(). |
|
|
Definition at line 492 of file m_mysql.cpp. References host. |
|
|
Definition at line 462 of file m_mysql.cpp. References connection. |
|
|
Definition at line 472 of file m_mysql.cpp. References SQLhost::host, and host. |
|
|
Definition at line 467 of file m_mysql.cpp. References host, and SQLhost::id. Referenced by DoLeadingQuery(), and NotifyMainThread(). |
|
|
Definition at line 482 of file m_mysql.cpp. References Enabled. |
|
|
Definition at line 477 of file m_mysql.cpp. References Enabled. |
|
|
Definition at line 301 of file m_mysql.cpp. Referenced by Close(), Connect(), ConnectionLost(), DoLeadingQuery(), and GetError(). |
|
|
Definition at line 306 of file m_mysql.cpp. Referenced by IsEnabled(), and SetEnable(). |
|
|
Definition at line 304 of file m_mysql.cpp. Referenced by Connect(), GetConfHost(), GetHost(), and GetID(). |
|
|
Definition at line 307 of file m_mysql.cpp. Referenced by DoLeadingQuery(). |
|
|
Definition at line 311 of file m_mysql.cpp. Referenced by DoLeadingQuery(), and DispatcherThread::Run(). |
|
|
Definition at line 302 of file m_mysql.cpp. Referenced by DoLeadingQuery(). |
|
|
Definition at line 303 of file m_mysql.cpp. |
|
|
Definition at line 312 of file m_mysql.cpp. Referenced by DoLeadingQuery(). |
|
|
Definition at line 305 of file m_mysql.cpp. |