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

[email protected]
Newsgroups perl.dbd.oracle.changes
Message-ID <[email protected]>
Author: byterock
Date: Fri Jun  4 10:05:40 2010
New Revision: 14110

Modified:
   dbd-oracle/trunk/oci8.c

Log:
fix for reported bug DBD (UNKNOWN OCI STATUS 1041): OCILobFreeTemporary 

in this case it was only happens on destroy the handle.  Seems I was playing wackamole with this one for a while.  The last change fixed the other bug but reintroduced 1041 this time I have it me thinks I got rid of the OCIHandleFree with CILobFreeTemporary and that fixed it I hope
Not sure if it is leaking meomory I will check that next

Modified: dbd-oracle/trunk/oci8.c
==============================================================================
--- dbd-oracle/trunk/oci8.c	(original)
+++ dbd-oracle/trunk/oci8.c	Fri Jun  4 10:05:40 2010
@@ -4351,11 +4351,17 @@
 			hv_iterinit(imp_sth->all_params_hv);
 			while( (phs_svp = hv_iternextsv(imp_sth->all_params_hv, &p, &i)) != NULL ) {
 				phs_t *phs = (phs_t*)(void*)SvPVX(phs_svp);
-				/*if (phs->desc_h && !phs->is_inout){*/
+
+
+
+				if (phs->desc_h && !phs->is_inout){
+						OCILobFreeTemporary_log_stat(imp_sth->svchp, imp_sth->errhp, phs->desc_h, status);
+
+
 				/*	boolean lobEmpty=1;*/
 				/*	OCIAttrSet_log_stat(phs->desc_h, phs->desc_t,&lobEmpty, 0, OCI_ATTR_LOBEMPTY, imp_sth->errhp, status);*/
 				/*	OCIHandleFree_log_stat(phs->desc_h, phs->desc_t, status);*/
-				/*}
+				}
 				/*this seem to cause an error later on so I just got rid of it for Now does */
 				/* not seem to kill anything */
 			}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.