mirror of
https://github.com/php/pecl-database-oci8.git
synced 2026-03-23 22:42:18 +01:00
Push updates for version 3.4.1
This commit is contained in:
31
package.xml
31
package.xml
@@ -10,7 +10,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
|
||||
<description>
|
||||
The OCI8 extension lets you access Oracle Database.
|
||||
|
||||
Use 'pecl install oci8' to install for PHP 8.2 and PHP 8.3.
|
||||
Use 'pecl install oci8' to install for PHP 8.2, PHP 8.3, PHP 8.4 and PHP 8.5.
|
||||
|
||||
Use 'pecl install oci8-3.2.1' to install for PHP 8.1.
|
||||
|
||||
@@ -59,12 +59,12 @@ Oracle's standard cross-version connectivity applies. For example, PHP OCI8 lin
|
||||
<active>no</active>
|
||||
</lead>
|
||||
|
||||
<date>2024-07-24</date>
|
||||
<date>2024-12-23</date>
|
||||
<time>12:00:00</time>
|
||||
|
||||
<version>
|
||||
<release>3.4.0</release>
|
||||
<api>3.4.0</api>
|
||||
<release>3.4.1</release>
|
||||
<api>3.4.1</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
@@ -72,11 +72,11 @@ Oracle's standard cross-version connectivity applies. For example, PHP OCI8 lin
|
||||
</stability>
|
||||
<license uri="http://www.php.net/license">PHP</license>
|
||||
<notes>
|
||||
This version has been tested with PHP 8.2 and PHP 8.3.
|
||||
This version has been tested with PHP 8.2, PHP 8.3, PHP 8.4 and PHP 8.5.
|
||||
|
||||
Requires Oracle Client libraries from 11.2 or later.
|
||||
|
||||
Added oci_pconnect() support for Oracle wallets
|
||||
Minor updates for package bug fix, PIE migration and upcoming PHP release.
|
||||
</notes>
|
||||
<contents>
|
||||
<dir name="/">
|
||||
@@ -463,6 +463,25 @@ Oracle's standard cross-version connectivity applies. For example, PHP OCI8 lin
|
||||
</extsrcrelease>
|
||||
<changelog>
|
||||
|
||||
<release>
|
||||
<version>
|
||||
<release>3.4.0</release>
|
||||
<api>3.4.0</api>
|
||||
</version>
|
||||
<stability>
|
||||
<release>stable</release>
|
||||
<api>stable</api>
|
||||
</stability>
|
||||
<license uri="http://www.php.net/license">PHP</license>
|
||||
<notes>
|
||||
This version has been tested with PHP 8.2 and PHP 8.3.
|
||||
|
||||
Requires Oracle Client libraries from 11.2 or later.
|
||||
|
||||
Added oci_pconnect() support for Oracle wallets.
|
||||
</notes>
|
||||
</release>
|
||||
|
||||
<release>
|
||||
<version>
|
||||
<release>3.3.0</release>
|
||||
|
||||
15
php_oci8.h
15
php_oci8.h
@@ -24,11 +24,11 @@
|
||||
*/
|
||||
|
||||
#ifdef HAVE_OCI8
|
||||
# ifndef PHP_OCI8_H
|
||||
# define PHP_OCI8_H
|
||||
#ifndef PHP_OCI8_H
|
||||
#define PHP_OCI8_H
|
||||
|
||||
#ifdef ZTS
|
||||
# include "TSRM.h"
|
||||
#include "TSRM.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -40,7 +40,7 @@
|
||||
*/
|
||||
#undef PHP_OCI8_VERSION
|
||||
#endif
|
||||
#define PHP_OCI8_VERSION "3.4.0"
|
||||
#define PHP_OCI8_VERSION "3.4.1"
|
||||
|
||||
extern zend_module_entry oci8_module_entry;
|
||||
#define phpext_oci8_ptr &oci8_module_entry
|
||||
@@ -48,16 +48,15 @@ extern zend_module_entry oci8_module_entry;
|
||||
#define phpext_oci8_12c_ptr &oci8_module_entry
|
||||
#define phpext_oci8_19_ptr &oci8_module_entry
|
||||
|
||||
|
||||
PHP_MINIT_FUNCTION(oci);
|
||||
PHP_RINIT_FUNCTION(oci);
|
||||
PHP_MSHUTDOWN_FUNCTION(oci);
|
||||
PHP_RSHUTDOWN_FUNCTION(oci);
|
||||
PHP_MINFO_FUNCTION(oci);
|
||||
|
||||
# endif /* !PHP_OCI8_H */
|
||||
#else /* !HAVE_OCI8 */
|
||||
#endif /* !PHP_OCI8_H */
|
||||
#else /* !HAVE_OCI8 */
|
||||
|
||||
# define oci8_module_ptr NULL
|
||||
#define oci8_module_ptr NULL
|
||||
|
||||
#endif /* HAVE_OCI8 */
|
||||
|
||||
@@ -58,11 +58,11 @@ function get_attr($conn)
|
||||
?>
|
||||
--EXPECT--
|
||||
**Test 1.1 - Default values for the attribute **************
|
||||
The value of DRIVER_NAME is PHP OCI8 : 3.4.0
|
||||
The value of DRIVER_NAME is PHP OCI8 : 3.4.1
|
||||
|
||||
***Test 1.2 - Get the values from different connections **************
|
||||
Testing with oci_pconnect()
|
||||
The value of DRIVER_NAME is PHP OCI8 : 3.4.0
|
||||
The value of DRIVER_NAME is PHP OCI8 : 3.4.1
|
||||
Testing with oci_new_connect()
|
||||
The value of DRIVER_NAME is PHP OCI8 : 3.4.0
|
||||
The value of DRIVER_NAME is PHP OCI8 : 3.4.1
|
||||
Done
|
||||
|
||||
Reference in New Issue
Block a user