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

[email protected] Tue, 8 Feb 2011 08:20:43 -0800 (PST)
Newsgroups perl.dbd.oracle.changes
Message-ID <[email protected]>
Author: byterock
Date: Tue Feb  8 08:20:39 2011
New Revision: 14688

Modified:
   dbd-oracle/trunk/dbdimp.c

Log:
YAT (Yet Another Typo) Fixed that may cause problems on some compilers / OCI versions

Modified: dbd-oracle/trunk/dbdimp.c
==============================================================================
--- dbd-oracle/trunk/dbdimp.c	(original)
+++ dbd-oracle/trunk/dbdimp.c	Tue Feb  8 08:20:39 2011
@@ -780,7 +780,7 @@
 					}
 			}
 			else {
-#endif
+#endif /* CAN_USE_PRO_C */
 				OCIEnvInit_log_stat( &imp_dbh->envhp, OCI_DEFAULT, 0, 0, status);
 				imp_dbh->proc_handles = 0;
 				if (status != OCI_SUCCESS) {
@@ -967,7 +967,7 @@
 
 				}
 				else {
-#endif
+#endif /* ORA_OCI_112 */
 
 
 					OCIHandleAlloc_ok(imp_dbh->envhp, &imp_dbh->svchp, OCI_HTYPE_SVCCTX, status);
@@ -1002,6 +1002,9 @@
 					OCIAttrSet_log_stat(imp_dbh->svchp, (ub4) OCI_HTYPE_SVCCTX,
 								imp_dbh->seshp, (ub4) 0,(ub4) OCI_ATTR_SESSION, imp_dbh->errhp, status);
 
+#ifdef ORA_OCI_112
+				}
+#endif
 			}
 #if defined(CAN_USE_PRO_C)
 		} /* use_proc_connection */