[svn:dbd-oracle] r15618 - dbd-oracle/trunk
[email protected] Tue, 2 Apr 2013 08:21:19 -0700 (PDT)
| Newsgroups | perl.dbd.oracle.changes |
|---|---|
| Message-ID | <[email protected]> |
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 )