mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fix skipifs
Skipifs were referencing an unset variable
This commit is contained in:
parent
8c3bf96022
commit
6524a530df
@ -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