#include <QueryResult.h>
ResultSet::ResultSet |
( |
MYSQL_RES * |
result, |
|
|
MYSQL_FIELD * |
fields, |
|
|
uint64 |
rowCount, |
|
|
uint32 |
fieldCount |
|
) |
| |
MYSQL_RES * _result
Definition: QueryResult.h:54
MYSQL_FIELD * _fields
Definition: QueryResult.h:55
Class used to access individual fields of database query result.
Definition: Field.h:56
uint32 _fieldCount
Definition: QueryResult.h:50
uint32_t uint32
Definition: Define.h:150
Field * _currentRow
Definition: QueryResult.h:49
uint64 _rowCount
Definition: QueryResult.h:48
ResultSet::~ResultSet |
( |
| ) |
|
void CleanUp()
Definition: QueryResult.cpp:225
void ResultSet::CleanUp |
( |
| ) |
|
|
private |
MYSQL_RES * _result
Definition: QueryResult.h:54
arena_t NULL
Definition: jemalloc_internal.h:624
Field * _currentRow
Definition: QueryResult.h:49
Field* ResultSet::Fetch |
( |
| ) |
const |
|
inline |
Field * _currentRow
Definition: QueryResult.h:49
uint32 ResultSet::GetFieldCount |
( |
| ) |
const |
|
inline |
uint32 _fieldCount
Definition: QueryResult.h:50
uint64 ResultSet::GetRowCount |
( |
| ) |
const |
|
inline |
uint64 _rowCount
Definition: QueryResult.h:48
bool ResultSet::NextRow |
( |
| ) |
|
183 row = mysql_fetch_row(
_result);
190 unsigned long* lengths = mysql_fetch_lengths(
_result);
193 TC_LOG_WARN(
"sql.sql",
"%s:mysql_fetch_lengths, cannot retrieve value lengths. Error %s.", __FUNCTION__, mysql_error(
_result->handle));
MYSQL_RES * _result
Definition: QueryResult.h:54
MYSQL_FIELD * _fields
Definition: QueryResult.h:55
uint32 _fieldCount
Definition: QueryResult.h:50
uint32_t uint32
Definition: Define.h:150
Field * _currentRow
Definition: QueryResult.h:49
#define TC_LOG_WARN(filterType__,...)
Definition: Log.h:204
void CleanUp()
Definition: QueryResult.cpp:225
uint32 _fieldCount
Definition: QueryResult.h:50
Field * _currentRow
Definition: QueryResult.h:49
#define ASSERT
Definition: Errors.h:55
Field* ResultSet::_currentRow |
|
protected |
MYSQL_FIELD* ResultSet::_fields |
|
private |
MYSQL_RES* ResultSet::_result |
|
private |
The documentation for this class was generated from the following files: