mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: Fix skipifs
This commit is contained in:
commit
c9265b1acd
@ -5,7 +5,7 @@ SELECT oci_bind_by_name with SQLT_AFC aka CHAR and dates
|
||||
if (!extension_loaded('oci8')) die ("skip no oci8 extension");
|
||||
require(dirname(__FILE__)."/connect.inc");
|
||||
// The bind buffer size edge cases seem to change each DB version.
|
||||
if (preg_match('/Release 11\.1\./', $sv, $matches) !== 1) {
|
||||
if (preg_match('/Release 11\.1\./', oci_server_version($c), $matches) !== 1) {
|
||||
if (preg_match('/Release 11\.2\.0\.3/', oci_server_version($c), $matches) !== 1) {
|
||||
die("skip expected output only valid when using Oracle 11gR1 or 11.2.0.3 databases");
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ PL/SQL oci_bind_by_name with SQLT_AFC aka CHAR to CHAR parameter
|
||||
if (!extension_loaded('oci8')) die ("skip no oci8 extension");
|
||||
require(dirname(__FILE__)."/connect.inc");
|
||||
// The bind buffer size edge cases seem to change each DB version.
|
||||
if (preg_match('/Release 11\.1\./', $sv, $matches) !== 1) {
|
||||
if (preg_match('/Release 11\.1\./', oci_server_version($c), $matches) !== 1) {
|
||||
if (preg_match('/Release 11\.2\.0\.3/', oci_server_version($c), $matches) !== 1) {
|
||||
die("skip expected output only valid when using Oracle 11gR1 or 11.2.0.3 databases");
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ PL/SQL oci_bind_by_name with SQLT_AFC aka CHAR to VARCHAR2 parameter
|
||||
if (!extension_loaded('oci8')) die ("skip no oci8 extension");
|
||||
require(dirname(__FILE__)."/connect.inc");
|
||||
// The bind buffer size edge cases seem to change each DB version.
|
||||
if (preg_match('/Release 11\.1\./', $sv, $matches) !== 1) {
|
||||
if (preg_match('/Release 11\.1\./', oci_server_version($c), $matches) !== 1) {
|
||||
if (preg_match('/Release 11\.2\.0\.3/', oci_server_version($c), $matches) !== 1) {
|
||||
die("skip expected output only valid when using Oracle 11gR1 or 11.2.0.3 databases");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user