static int php_oci_connection_ping(php_oci_connection *connection TSRMLS_DC)
{
sword errstatus;
+#if (!((OCI_MAJOR_VERSION > 10) || ((OCI_MAJOR_VERSION == 10) && (OCI_MINOR_VERSION >= 2))))
+ char version[256];
+#endif
OCI_G(errcode) = 0; /* assume ping is successful */
#if ((OCI_MAJOR_VERSION > 10) || ((OCI_MAJOR_VERSION == 10) && (OCI_MINOR_VERSION >= 2))) /* OCIPing available 10.2 onwards */
PHP_OCI_CALL_RETURN(errstatus, OCIPing, (connection->svc, OCI_G(err), OCI_DEFAULT));
#else
- char version[256];
/* use good old OCIServerVersion() */
PHP_OCI_CALL_RETURN(errstatus, OCIServerVersion, (connection->svc, OCI_G(err), (text *)version, sizeof(version), OCI_HTYPE_SVCCTX));
#endif
<time>12:00:00</time>
<version>
- <release>2.0.6</release>
- <api>2.0.6</api>
+ <release>2.0.7</release>
+ <api>2.0.7</api>
</version>
<stability>
<release>stable</release>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>
-Added a LICENSE file to make it easier for PECL binary distributions
-to conform with the license.
+ Build change: Fix source variable definition for C89 compatibility
</notes>
<contents>
<dir name="/">
</extsrcrelease>
<changelog>
+<release>
+ <version>
+ <release>2.0.6</release>
+ <api>2.0.6</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.php.net/license">PHP</license>
+ <notes>
+Added a LICENSE file to make it easier for PECL binary distributions
+to conform with the license.
+ </notes>
+</release>
+
<release>
<version>
<release>2.0.5</release>
*/
#undef PHP_OCI8_VERSION
#endif
-#define PHP_OCI8_VERSION "2.0.6"
+#define PHP_OCI8_VERSION "2.0.7-dev"
extern zend_module_entry oci8_module_entry;
#define phpext_oci8_ptr &oci8_module_entry