summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2001-12-17 02:20:43 +0000
committerYasuo Ohgaki <yohgaki@php.net>2001-12-17 02:20:43 +0000
commit377870503658262632b6b3a31fa57eba376e1f30 (patch)
tree56f3f032d8dedbe0d6ffb956c20bf0b1c49ec510 /ext/pgsql/tests
parent0f12a9ca33e5819982fa6980e9e8e3f4074b4e82 (diff)
downloadphp-git-377870503658262632b6b3a31fa57eba376e1f30.tar.gz
Actually drop test table.
# name is dropdb since it may be changed to actually destory test db
Diffstat (limited to 'ext/pgsql/tests')
-rw-r--r--ext/pgsql/tests/dropdb.inc8
1 files 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";