From: Yasuo Ohgaki Date: Mon, 17 Dec 2001 02:20:43 +0000 (+0000) Subject: Actually drop test table. X-Git-Tag: PRE_ISSET_PATCH~502 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=377870503658262632b6b3a31fa57eba376e1f30;p=php Actually drop test table. # name is dropdb since it may be changed to actually destory test db --- diff --git a/ext/pgsql/tests/dropdb.inc b/ext/pgsql/tests/dropdb.inc index 93f4d70789..3e80abe3cd 100644 --- a/ext/pgsql/tests/dropdb.inc +++ b/ext/pgsql/tests/dropdb.inc @@ -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";