diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-21 13:22:45 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-21 13:22:45 +0000 |
commit | 1498e89b98306a76fd0803db82acd29be1e2a636 (patch) | |
tree | 497acd3a15ee23526449c0e15882ede7910b3441 /src/modules/extra/m_sql.h | |
parent | d58d30d6902b820274c801d5c67ddd674f49dd41 (diff) |
Updated with a bit more debug output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1154 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sql.h')
-rw-r--r-- | src/modules/extra/m_sql.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/modules/extra/m_sql.h b/src/modules/extra/m_sql.h index 0620dedf7..5110146d9 100644 --- a/src/modules/extra/m_sql.h +++ b/src/modules/extra/m_sql.h @@ -9,6 +9,8 @@ #define SQL_ROW 3 #define SQL_ERROR 4 #define SQL_END 5 +#define SQL_DONE 6 +#define SQL_OK 7 // SQLRequest is inherited from a basic Request object // so that we can neatly pass information around the @@ -21,6 +23,13 @@ class SQLRequest int request_type; std::string thisquery; public: + SQLRequest(int qt, long cid, std::string query) + { + this->SetQueryType(qt); + this->SetConnID(cid); + this->SetQuery(query); + } + void SetConnID(long id) { conn_id = id; |