31                                           const char *
pass, 
const char *table)
 
   46         smx.Remove(
smx.Length()-1);
 
   49         smx.Remove(
smx.Length()-1);
 
   52         smx.Remove(
smx.Length()-1);
 
 
   94   if (!values || (values && values->
GetSize() < 1))
 
  101   while (
ops.Tokenize(
op, from, 
",")) {
 
  104      } 
else if (
op.BeginsWith(
"table=")) {
 
  105         op.ReplaceAll(
"table=", 
"");
 
  109               table.Remove(
idot+1);
 
  130      while ((o = 
nxi())) {
 
  161         Error(
"SendParameters", 
"insert into %s failed", table.Data());
 
  162         if (
sql.Length() > 1024) {
 
  177         Error(
"SendParameters", 
"bulk insert: first entry in list is not 'TObjString' but '%s'", o ? o->
ClassName() : 
"noclass" );
 
  185      while ((o = 
nxi())) {
 
  190            Warning(
"SendParameters", 
"bulk insert: ignoring not 'TObjString' entry ('%s')", o->
ClassName() );
 
  195               Error(
"SendParameters", 
"bulk insert into %s failed", table.Data());
 
  196               if (
sql.Length() > 1024) {
 
  212            Error(
"SendParameters", 
"bulk insert into %s failed", table.Data());
 
  213            if (
sql.Length() > 1024) {
 
 
constexpr Ssiz_t kNPOS
The equivalent of std::string::npos for the ROOT class TString.
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Printf(const char *fmt,...)
Formats a string in a circular formatting buffer and prints the string.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
The TNamed class is the base class for all named ROOT classes.
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
Collectable string class.
Mother of all ROOT objects.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
R__ALWAYS_INLINE Bool_t IsZombie() const
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
virtual ~TSQLMonitoringWriter()
Destructor.
Bool_t SendParameters(TList *values, const char *) override
Register query log using the information in the list which is in the form TParameter(<par>,...
TSQLMonitoringWriter(const TSQLMonitoringWriter &)=delete
virtual TSQLResult * Query(const char *sql)=0
static TSQLServer * Connect(const char *db, const char *uid, const char *pw)
The db should be of the form: <dbms>://<host>[:<port>][/<database>], e.g.: mysql://pcroot....
const char * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.