[svn:dbd-oracle] r15049 - dbd-oracle/trunk

[email protected] Fri, 16 Dec 2011 12:42:41 -0800 (PST)
Newsgroups perl.dbd.oracle.changes
Message-ID <[email protected]>
Author: yanick
Date: Fri Dec 16 12:42:40 2011
New Revision: 15049

Modified:
   dbd-oracle/trunk/Changes
   dbd-oracle/trunk/Oracle.pm

Log:
fix documentation for ora_fetch_scroll

Conflicts:
	Changes

Modified: dbd-oracle/trunk/Changes
==============================================================================
--- dbd-oracle/trunk/Changes	(original)
+++ dbd-oracle/trunk/Changes	Fri Dec 16 12:42:40 2011
@@ -10,9 +10,10 @@
 
  [DOCUMENTATION]
 
- - [rt72716] Document possible problem with
+ - Document possible problem with
    ora_connect_with_default_signals and connect_cached
-   (Martin J. Evans)
+   [RT72716] (Martin J. Evans)
+ - Fix documentation for 'ora_fetch_scroll()'
 
 Changes in DBD-Oracle 1.35_00 (18-11-2011)
 

Modified: dbd-oracle/trunk/Oracle.pm
==============================================================================
--- dbd-oracle/trunk/Oracle.pm	(original)
+++ dbd-oracle/trunk/Oracle.pm	Fri Dec 16 12:42:40 2011
@@ -3405,11 +3405,11 @@
 
 =item ora_fetch_scroll
 
-  @ary =  $sth->ora_fetch_scroll($fetch_orient,$fetch_offset);
+  $ary_ref = $sth->ora_fetch_scroll($fetch_orient,$fetch_offset);
 
-Works the same as fetchrow_array method however, one passes in a 'Fetch Orientation' constant and a fetch_offset
+Works the same as C<fetchrow_arrayref>, excepts one passes in a 'Fetch Orientation' constant and a fetch_offset
 value which will then determine the row that will be fetched. It returns the row as a list containing the field values.
-Null fields are returned as undef values in the list.
+Null fields are returned as I<undef> values in the list.
 
 The valid orientation constant and fetch offset values combination are detailed below
 
@@ -3420,13 +3420,15 @@
   OCI_FETCH_LAST,     fetches the last row, the fetch offset value is ignored.
   OCI_FETCH_PRIOR,    fetches the previous row from the current position, the fetch offset
                       value is ignored.
+
   OCI_FETCH_ABSOLUTE, fetches the row that is specified by the fetch offset value.
-  OCI_FETCH_RELATIVE, fetches the row relative from the current position as specified by the
-                      fetch offset value.
 
   OCI_FETCH_ABSOLUTE, and a fetch offset value of 1 is equivalent to a OCI_FETCH_FIRST.
   OCI_FETCH_ABSOLUTE, and a fetch offset value of 0 is equivalent to a OCI_FETCH_CURRENT.
 
+  OCI_FETCH_RELATIVE, fetches the row relative from the current position as specified by the
+                      fetch offset value.
+
   OCI_FETCH_RELATIVE, and a fetch offset value of 0 is equivalent to a OCI_FETCH_CURRENT.
   OCI_FETCH_RELATIVE, and a fetch offset value of 1 is equivalent to a OCI_FETCH_NEXT.
   OCI_FETCH_RELATIVE, and a fetch offset value of -1 is equivalent to a OCI_FETCH_PRIOR.