Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMySQLServer.cxx File Reference
#include "TMySQLServer.h"
#include "TMySQLResult.h"
#include "TMySQLStatement.h"
#include "TSQLColumnInfo.h"
#include "TSQLTableInfo.h"
#include "TSQLRow.h"
#include "TUrl.h"
#include "TList.h"
#include "TObjString.h"
#include "TObjArray.h"
Include dependency graph for TMySQLServer.cxx:

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 

Macros

#define CheckConnect(method, res)
 
#define CheckErrNo(method, force, res)
 

Macro Definition Documentation

◆ CheckConnect

#define CheckConnect (   method,
  res 
)
Value:
{ \
ClearError(); \
if (!IsConnected()) { \
SetError(-1,"MySQL server is not connected",method); \
return res; \
} \
}

Definition at line 234 of file TMySQLServer.cxx.

◆ CheckErrNo

#define CheckErrNo (   method,
  force,
  res 
)
Value:
{ \
unsigned int sqlerrno = mysql_errno(fMySQL); \
if ((sqlerrno!=0) || force) { \
const char* sqlerrmsg = mysql_error(fMySQL); \
if (sqlerrno==0) { sqlerrno = 11111; sqlerrmsg = "MySQL error"; } \
SetError(sqlerrno, sqlerrmsg, method); \
return res; \
} \
}

Definition at line 245 of file TMySQLServer.cxx.