original_string: protected function fetch_cursor_block() {
          if ($this->result) {
              throw new coding_exception('Unexpected non-empty result when fetching from cursor');
          }
          list($this->result, $this->lastbatch) = $this->db->fetch_from_cursor($this->cursorname);
          if (!$this->result) {
              throw new coding_exception('Unexpected failure when fetching from cursor');
          }
      }
code: protected function fetch_cursor_block() {
          if ($this->result) {
              throw new coding_exception('Unexpected non-empty result when fetching from cursor');
          }
          list($this->result, $this->lastbatch) = $this->db->fetch_from_cursor($this->cursorname);
          if (!$this->result) {
              throw new coding_exception('Unexpected failure when fetching from cursor');
          }
      }
code_tokens: protected function fetch_cursor_block ( ) { if ( $ this -> result ) { throw new coding_exception ( 'Unexpected non-empty result when fetching from cursor' ) ; } list ( $ this -> result , $ this -> lastbatch ) = $ this -> db -> fetch_from_cursor ( $ this -> cursorname ) ; if ( ! $ this -> result ) { throw new coding_exception ( 'Unexpected failure when fetching from cursor' ) ; } }
docstring: Fetches the next block of data when using cursors.
  
  @throws coding_exception If you call this when the fetch buffer wasn't freed yet
docstring_tokens: Fetches the next block of data when using cursors .