abies Sun Feb 15 13:45:58 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/interbase/tests 003.phpt Log: MFH http://cvs.php.net/diff.php/php-src/ext/interbase/tests/003.phpt?r1=1.2.4.3&r2=1.2.4.4&ty=u Index: php-src/ext/interbase/tests/003.phpt diff -u php-src/ext/interbase/tests/003.phpt:1.2.4.3 php-src/ext/interbase/tests/003.phpt:1.2.4.4 --- php-src/ext/interbase/tests/003.phpt:1.2.4.3 Fri Feb 13 05:43:24 2004 +++ php-src/ext/interbase/tests/003.phpt Sun Feb 15 13:45:56 2004 @@ -5,14 +5,14 @@ --POST-- --GET-- --FILE-- -<?php +<?php /* $Id: 003.phpt,v 1.2.4.4 2004/02/15 18:45:56 abies Exp $ */ require("interbase.inc"); ibase_connect($test_base); ibase_query( "create table test3 ( - iter integer, + iter integer not null, v_char char(1000), v_date timestamp, v_decimal4_2 decimal(4,2), @@ -29,6 +29,9 @@ )"); ibase_commit(); + /* should fail, but gracefully */ + @ibase_query("insert into test3 (iter) values (?)", null); + /* if timefmt is not supported, suppress error here */ @ibase_timefmt("%m/%d/%Y %H:%M:%S");
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php