Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2990b8a

Browse files
committed
Add missing PQclear().
1 parentdd83b34 commit2990b8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎contrib/pgbench/pgbench.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*
2-
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.30 2003/12/07 19:55:58 tgl Exp $
2+
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.31 2004/06/14 11:00:12 ishii Exp $
33
*
44
* pgbench: a simple TPC-B like benchmark program for PostgreSQL
55
* written by Tatsuo Ishii
66
*
7-
* Copyright (c) 2000-2003Tatsuo Ishii
7+
* Copyright (c) 2000-2004Tatsuo Ishii
88
*
99
* Permission to use, copy, modify, and distribute this software and
1010
* its documentation for any purpose and without fee is hereby
@@ -552,7 +552,7 @@ init(void)
552552
fprintf(stderr,"%s",PQerrorMessage(con));
553553
exit(1);
554554
}
555-
555+
PQclear(res);
556556

557557
/*
558558
* occupy accounts table with some data

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp