hholzgra Tue Jul 11 07:02:02 2006 UTC Modified files: /php-src/ext/mysqli/tests 019.phpt Log: test was not covering DOUBLE bindings http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/019.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/mysqli/tests/019.phpt diff -u php-src/ext/mysqli/tests/019.phpt:1.5 php-src/ext/mysqli/tests/019.phpt:1.6 --- php-src/ext/mysqli/tests/019.phpt:1.5 Sat Dec 4 08:50:33 2004 +++ php-src/ext/mysqli/tests/019.phpt Tue Jul 11 07:02:02 2006 @@ -20,12 +20,13 @@ col10 varchar(50), col11 char(20))"); - $stmt= mysqli_prepare($link,"INSERT INTO insert_read(col1,col10, col11) VALUES(?,?,?)"); - mysqli_bind_param($stmt, "iss", $c1, $c2, $c3); + $stmt= mysqli_prepare($link,"INSERT INTO insert_read(col1,col10, col11, col6) VALUES(?,?,?,?)"); + mysqli_bind_param($stmt, "issd", $c1, $c2, $c3, $c4); $c1 = 1; $c2 = "foo"; $c3 = "foobar"; + $c4 = 3.14; mysqli_execute($stmt); mysqli_stmt_close($stmt); @@ -56,7 +57,7 @@ [4]=> NULL [5]=> - NULL + float(3.14) [6]=> NULL [7]=>
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php