added amb281 - multiple result sets for MySQL

This commit is contained in:
David Anderson
2007-10-22 21:31:02 +00:00
parent 2d737970d0
commit a86b1c5097
16 changed files with 150 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ namespace SourceMod
class MysqlResultSet : public IResultSet
{
public:
MysqlResultSet(MYSQL_RES *res);
MysqlResultSet(MYSQL_RES *res, MYSQL *mysql);
~MysqlResultSet();
public:
void FreeHandle();
@@ -44,7 +44,9 @@ namespace SourceMod
IResultRow *GetRow();
void NextRow();
void Rewind();
bool NextResultSet();
private:
MYSQL *m_pMySQL;
MYSQL_RES *m_pRes;
MysqlResultRow m_kRow;
unsigned int m_Columns;