57 Error(
"IsValid",
"result set closed");
61 Error(
"IsValid",
"field index out of bounds");
73 Error(
"GetFieldCount",
"result set closed");
76 return mysql_num_fields(
fResult);
91 Error(
"GetFieldName",
"cannot get field info");
105 Error(
"Next",
"result set closed");
108 MYSQL_ROW row = mysql_fetch_row(
fResult);
TSQLRow * Next() final
Get next query result row.
const char * GetFieldName(Int_t field) final
Get name of specified field.
Int_t GetFieldCount() final
Get number of fields in result.
~TMySQLResult()
Cleanup MySQL query result.
Bool_t IsValid(Int_t field)
Check if result set is open and field index within range.
TMySQLResult(void *result)
MySQL query result.
void Close(Option_t *opt="") final
Close query result.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.