#ifndef ROOT_TMySQLResult
#define ROOT_TMySQLResult
#ifndef ROOT_TSQLResult
#include "TSQLResult.h"
#endif
#if !defined(__CINT__)
#ifdef R__WIN32
#include <winsock.h>
#else
#include <sys/time.h>
#endif
#include <mysql.h>
#else
struct MYSQL_RES;
struct MYSQL_FIELD;
#endif
class TMySQLResult : public TSQLResult {
private:
MYSQL_RES *fResult;
MYSQL_FIELD *fFieldInfo;
Bool_t IsValid(Int_t field);
public:
TMySQLResult(void *result);
~TMySQLResult();
void Close(Option_t *opt="");
Int_t GetFieldCount();
const char *GetFieldName(Int_t field);
TSQLRow *Next();
ClassDef(TMySQLResult,0)
};
#endif
Last update: Thu Jan 17 09:00:19 2008
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.