develooper Front page | perl.dbd.oracle.changes | Postings from April 2013

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

From:
yanick
Date:
April 2, 2013 15:21
Subject:
[svn:dbd-oracle] r15618 - dbd-oracle/trunk
Message ID:
20130402152120.4D591184BAB@xx12.develooper.com
Author: yanick
Date: Tue Apr  2 08:21:14 2013
New Revision: 15618

Modified:
   dbd-oracle/trunk/oci8.c

Log:
merge booboo

Modified: dbd-oracle/trunk/oci8.c
==============================================================================
--- dbd-oracle/trunk/oci8.c	(original)
+++ dbd-oracle/trunk/oci8.c	Tue Apr  2 08:21:14 2013
@@ -4002,6 +4002,10 @@
 			OCIStmtFetch_log_stat(imp_sth, imp_sth->stmhp, imp_sth->errhp,1, imp_sth->fetch_orient,imp_sth->fetch_offset, status);
 				/*this will work without a round trip so might as well open it up for all statments handles*/
 				/* default and OCI_FETCH_NEXT are the same so this avoids miscaluation on the next value*/
+			if (status==OCI_NO_DATA){
+                return Nullav;
+            }
+
 			OCIAttrGet_stmhp_stat(imp_sth, &imp_sth->fetch_position, 0, OCI_ATTR_CURRENT_POSITION, status);
 
 			if (DBIc_DBISTATE(imp_sth)->debug >= 4 || dbd_verbose >= 4 )



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About