diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-10-20 19:38:10 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-10-20 19:38:10 +0000 |
commit | 4d1aaedac0b96da7f146498ef982c0b50d7408f2 (patch) | |
tree | 0c28335ee5d3cf7b05a355d411341fae5fadb886 | |
parent | 29eabaa958f595d838699d7cabdfb3405c54051c (diff) | |
download | postgresql-4d1aaedac0b96da7f146498ef982c0b50d7408f2.tar.gz postgresql-4d1aaedac0b96da7f146498ef982c0b50d7408f2.zip |
Fix core dump recently introduced into pgbench.
-rw-r--r-- | contrib/pgbench/pgbench.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c index f32b373c857..1f64e9dc0e2 100644 --- a/contrib/pgbench/pgbench.c +++ b/contrib/pgbench/pgbench.c @@ -1,5 +1,5 @@ /* - * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.21 2002/10/18 18:41:20 momjian Exp $ + * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.22 2002/10/20 19:38:10 tgl Exp $ * * pgbench: a simple TPC-B like benchmark program for PostgreSQL * written by Tatsuo Ishii @@ -853,7 +853,6 @@ main(int argc, char **argv) fprintf(stderr, "%s", PQerrorMessage(con)); exit(1); } - PQclear(res); tps = atoi(PQgetvalue(res, 0, 0)); if (tps < 0) { |