diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2001-12-17 02:20:43 +0000 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2001-12-17 02:20:43 +0000 |
commit | 377870503658262632b6b3a31fa57eba376e1f30 (patch) | |
tree | 56f3f032d8dedbe0d6ffb956c20bf0b1c49ec510 /ext/pgsql/tests | |
parent | 0f12a9ca33e5819982fa6980e9e8e3f4074b4e82 (diff) | |
download | php-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.inc | 8 |
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"; |