22 fResult = (MYSQL_RES *) res;
23 fFields = (MYSQL_ROW) rowHandle;
55 Error(
"IsValid",
"row closed");
58 if (field < 0 || field >= (
Int_t)mysql_num_fields(
fResult)) {
59 Error(
"IsValid",
"field index out of bounds");
77 Error(
"GetFieldLength",
"cannot get field length");
void Close(Option_t *opt="")
Close row.
~TMySQLRow()
Destroy row object.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
ULong_t GetFieldLength(Int_t field)
Get length in bytes of specified field.
const char * GetField(Int_t field)
Get specified field from row (0 <= field < GetFieldCount()).
Bool_t IsValid(Int_t field)
Check if row is open and field index within range.