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.
Bool_t IsValid(Int_t field)
Check if row is open and field index within range.
const char * GetField(Int_t field)
Get specified field from row (0 <= field < GetFieldCount()).
~TMySQLRow()
Destroy row object.
TMySQLRow(void *result, ULong_t rowHandle)
Single row of query result.
ULong_t GetFieldLength(Int_t field)
Get length in bytes of specified field.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.