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