helly Sun Oct 9 12:05:04 2005 EDT
Modified files:
/php-src/ext/pgsql/tests 01createdb.phpt
Log:
- Apply workaround for test until someone fixes the issue (which is unrelated
to pg_*())
http://cvs.php.net/diff.php/php-src/ext/pgsql/tests/01createdb.phpt?r1=1.2&r2=1.3&ty=u
Index: php-src/ext/pgsql/tests/01createdb.phpt
diff -u php-src/ext/pgsql/tests/01createdb.phpt:1.2
php-src/ext/pgsql/tests/01createdb.phpt:1.3
--- php-src/ext/pgsql/tests/01createdb.phpt:1.2 Mon May 19 20:14:46 2003
+++ php-src/ext/pgsql/tests/01createdb.phpt Sun Oct 9 12:05:01 2005
@@ -9,7 +9,8 @@
include('config.inc');
$db = pg_connect($conn_str);
-if ([EMAIL PROTECTED](@pg_query($db, "SELECT * FROM ".$table_name)))
+$res = @pg_query($db, "SELECT * FROM ".$table_name);
+if ([EMAIL PROTECTED]($res))
{
@pg_query($db,$table_def); // Create table here
for ($i=0; $i < $num_test_record; $i++) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php