library/src/blockclass/BP-BlockClass.cc
// Returns a row structure from the results
Returns a row structure from the results
Returns a row structure from the results
MYSQL_ROW Block::MysqlGetRow()
{
	if(!this->mysqlSession)
		return NULL;
	BP_BLOCK_MARIADB_ENTER_CRITICAL_SECTION;
	MYSQL_ROW ret_val = BP_MySQLFetchRow(mysqlResults, this->mysqlSession);
	BP_BLOCK_MARIADB_LEAVE_CRITICAL_SECTION;
	return ret_val;
}
MYSQL_ROW Block :: MysqlGetRow ( ) { if ( ! this -> mysqlSession ) return NULL ; BP_BLOCK_MARIADB_ENTER_CRITICAL_SECTION ; MYSQL_ROW ret_val = BP_MySQLFetchRow ( mysqlResults , this -> mysqlSession ) ; BP_BLOCK_MARIADB_LEAVE_CRITICAL_SECTION ; return ret_val ; }
Returns a row structure from the results
Returns a row structure from the results
// ensure we have a mysql session // enter critical section // attempt to fetch row // leave critical section and return value