#ifndef ROOT_TMySQLRow
#define ROOT_TMySQLRow
#ifndef ROOT_TSQLRow
#include "TSQLRow.h"
#endif
#if !defined(__CINT__)
#ifdef R__WIN32
#include <winsock.h>
#else
#include <sys/time.h>
#endif
#include <mysql.h>
#else
struct MYSQL_RES;
typedef char **MYSQL_ROW;
#endif
class TMySQLRow : public TSQLRow {
private:
MYSQL_RES *fResult;
MYSQL_ROW fFields;
ULong_t *fFieldLength;
Bool_t IsValid(Int_t field);
public:
TMySQLRow(void *result, ULong_t rowHandle);
~TMySQLRow();
void Close(Option_t *opt="");
ULong_t GetFieldLength(Int_t field);
const char *GetField(Int_t field);
ClassDef(TMySQLRow,0)
};
#endif
Last change: Wed Jun 25 08:49:43 2008
Last generated: 2008-06-25 08:49
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.