#ifndef ROOT_TMySQLServer
#define ROOT_TMySQLServer
#ifndef ROOT_TSQLServer
#include "TSQLServer.h"
#endif
#if !defined(__CINT__)
#ifdef R__WIN32
#include <winsock.h>
#else
#include <sys/time.h>
#endif
#include <mysql.h>
#else
struct MYSQL;
#endif
class TMySQLServer : public TSQLServer {
private:
MYSQL *fMySQL;
TString fInfo;
public:
TMySQLServer(const char *db, const char *uid, const char *pw);
~TMySQLServer();
void Close(Option_t *opt="");
TSQLResult *Query(const char *sql);
Bool_t Exec(const char* sql);
TSQLStatement *Statement(const char *sql, Int_t = 100);
Bool_t IsSupportStatement() const;
Int_t SelectDataBase(const char *dbname);
TSQLResult *GetDataBases(const char *wild = 0);
TSQLResult *GetTables(const char *dbname, const char *wild = 0);
TList *GetTablesList(const char* wild = 0);
TSQLTableInfo *GetTableInfo(const char* tablename);
TSQLResult *GetColumns(const char *dbname, const char *table, const char *wild = 0);
Int_t GetMaxIdentifierLength() { return 64; }
Int_t CreateDataBase(const char *dbname);
Int_t DropDataBase(const char *dbname);
Int_t Reload();
Int_t Shutdown();
const char *ServerInfo();
Bool_t StartTransaction();
Bool_t Commit();
Bool_t Rollback();
ClassDef(TMySQLServer,0)
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
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.