cvs: php4 /ext/pgsql/tests dropdb.inc

From: Date: Mon, 17 Dec 2001 02:20:43 +0000
Subject: cvs: php4 /ext/pgsql/tests dropdb.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8692@lists.php.net to get a copy of this message
yohgaki Sun Dec 16 21:20:43 2001 EDT Modified files: /php4/ext/pgsql/tests dropdb.inc Log: Actually drop test table. # name is dropdb since it may be changed to actually destory test db Index: php4/ext/pgsql/tests/dropdb.inc diff -u php4/ext/pgsql/tests/dropdb.inc:1.1 php4/ext/pgsql/tests/dropdb.inc:1.2 --- php4/ext/pgsql/tests/dropdb.inc:1.1 Sun Dec 16 19:16:48 2001 +++ php4/ext/pgsql/tests/dropdb.inc Sun Dec 16 21:20:43 2001 @@ -3,12 +3,8 @@ include('config.inc'); -// $db = pg_connect($conn_str); -// if (pg_num_rows(pg_query($db, "SELECT * FROM ".$table_name))) -// { -// pg_query($db, "DROP TABLE ".$table_name); -// } -// pg_close($db); +pg_connect($conn_str); +pg_query($db, "DROP TABLE ".$table_name); echo "OK";

« previous php.cvs (#8692) next »