irm-1.6-b3/MDB/oci8.php
/**
     * Skip the first row of a result set.
     *
     * @param resource $result
     * @return mixed a result handle or MDB_OK on success, a MDB error on failure
     * @access private
     */
Skip the first row of a result set.
@param resource $result
@return mixed a result handle or MDB_OK on success, a MDB error on failure
@access private
Skip the first row of a result set . @param resource $result @return mixed a result handle or MDB_OK on success a MDB error on failure @access private
function _skipLimitOffset($result)
    {
        $result_value = intval($result);
        $first = $this->limits[$result_value][0];
        for(;$this->limits[$result_value][2] < $first;$this->limits[$result_value][2]++) {
            if (!@OCIFetch($result)) {
                $this->limits[$result_value][2] = $first;
                return($this->raiseError(MDB_ERROR, NULL, NULL,
                    'Skip first rows: could not skip a query result row'));
            }
        }
        return(MDB_OK);
    }
function _skipLimitOffset ( $ result ) { $ result_value = intval ( $ result ) ; $ first = $ this -> limits [ $ result_value ] [ 0 ] ; for ( ; $ this -> limits [ $ result_value ] [ 2 ] < $ first ; $ this -> limits [ $ result_value ] [ 2 ] ++ ) { if ( ! @ OCIFetch ( $ result ) ) { $ this -> limits [ $ result_value ] [ 2 ] = $ first ; return ( $ this -> raiseError ( MDB_ERROR , NULL , NULL , 'Skip first rows: could not skip a query result row' ) ) ; } } return ( MDB_OK ) ; }
Skip the first row of a result set.
Skip the first row of a result set .