From 377870503658262632b6b3a31fa57eba376e1f30 Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Mon, 17 Dec 2001 02:20:43 +0000 Subject: [PATCH] Actually drop test table. # name is dropdb since it may be changed to actually destory test db --- ext/pgsql/tests/dropdb.inc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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"; -- 2.50.1