[prev in list] [next in list] [prev in thread] [next in thread]
List: pecl-cvs
Subject: [PECL-CVS] cvs: pecl /ibm_db2/tests test_026.phpt
From: "Kellen Bombardier" <kfbombar () php ! net>
Date: 2007-04-29 16:59:58
Message-ID: cvskfbombar1177865998 () cvsserver
[Download RAW message or body]
kfbombar Sun Apr 29 16:59:58 2007 UTC
Added files:
/pecl/ibm_db2/tests test_026.phpt
Log:
Test for a fix regarding db2_bind_param's exit
http://cvs.php.net/viewvc.cgi/pecl/ibm_db2/tests/test_026.phpt?view=markup&rev=1.1
Index: pecl/ibm_db2/tests/test_026.phpt
+++ pecl/ibm_db2/tests/test_026.phpt
--TEST--
IBM-DB2: db2_bind_param -- test db2_bind_param for a clean exit
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
require_once('connection.inc');
$conn = db2_connect($database, $user, $password);
if ($conn) {
$sql = 'CALL match_animal(?, ?, ?)';
$stmt = db2_prepare($conn, $sql);
$name = "Peaches";
$second_name = "Rickety Ride";
$weight = 0;
db2_bind_param($stmt, 1, "name", DB2_PARAM_IN);
db2_bind_param($stmt, 2, "second_name", DB2_PARAM_INOUT);
db2_bind_param($stmt, 3, "weight", DB2_PARAM_OUT);
echo "This script should exit cleanly with no segfaults";
}
?>
--EXPECT--
This script should exit cleanly with no segfaults
--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic