[svn:dbd-oracle] r15335 - dbd-oracle/trunk
[email protected] Sun, 24 Jun 2012 07:49:18 -0700 (PDT)
| Newsgroups | perl.dbd.oracle.changes |
|---|---|
| Message-ID | <[email protected]> |
Author: mjevans
Date: Sun Jun 24 07:49:16 2012
New Revision: 15335
Modified:
dbd-oracle/trunk/Changes
dbd-oracle/trunk/Oracle.xs
Log:
RT69059 - OCIPing is not defined in Oracle 10.2 for AIX
Modified: dbd-oracle/trunk/Changes
==============================================================================
--- dbd-oracle/trunk/Changes (original)
+++ dbd-oracle/trunk/Changes Sun Jun 24 07:49:16 2012
@@ -9,6 +9,10 @@
- RT55028 - stop segfaulting when attempting to read empty lobs
(Martin J. Evans)
+ - RT69059 - Despite OCIPing being documented as added in 10.2 AIX
+ does not seem to have it in 10.2 leading to undefined symbol -
+ Martin J. Evans
+
[MISCELLANEOUS]
- Added a trouble shooting entry for RT71819 - bound output
Modified: dbd-oracle/trunk/Oracle.xs
==============================================================================
--- dbd-oracle/trunk/Oracle.xs (original)
+++ dbd-oracle/trunk/Oracle.xs Sun Jun 24 07:49:16 2012
@@ -393,7 +393,9 @@
/*If the listener goes down it is another case as the Listener is needed to establish the connection not maintain it*/
/*so we should stay connected but we cannot get nay new connections*/
{
-#if !defined(ORA_OCI_102)
+ /* RT 69059 - despite OCIPing being introduced in 10.2
+ * it is not available in 10.2 for AIX */
+#if !defined(ORA_OCI_102) || (defined(_AIX) && !defined(ORA_OCI_112))
OCIServerVersion_log_stat(imp_dbh, imp_dbh->svchp,imp_dbh->errhp,buf,2,OCI_HTYPE_SVCCTX,status);
#else
vernum = ora_db_version(dbh,imp_dbh);