bugfix - contrib/pgbench

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)lab(dot)ntt(dot)co(dot)jp>
To: pgsql-patches(at)postgresql(dot)org
Subject: bugfix - contrib/pgbench
Date: 2005-05-23 04:25:24
Message-ID: 20050523125141.3AE9.ITAGAKI.TAKAHIRO@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

DDLs was used instead of DDLAFTERs by mistake.

*** pgbench.c Tue Nov 9 15:09:31 2004
--- pgbench.fix.c Mon May 23 12:50:01 2005
*************** init(void)
*** 622,628 ****
for (i = 0; i < (sizeof(DDLAFTERs) / sizeof(char *)); i++)
{
res = PQexec(con, DDLAFTERs[i]);
! if (strncmp(DDLs[i], "drop", 4) && PQresultStatus(res) != PGRES_COMMAND_OK)
{
fprintf(stderr, "%s", PQerrorMessage(con));
exit(1);
--- 622,628 ----
for (i = 0; i < (sizeof(DDLAFTERs) / sizeof(char *)); i++)
{
res = PQexec(con, DDLAFTERs[i]);
! if (strncmp(DDLAFTERs[i], "drop", 4) && PQresultStatus(res) != PGRES_COMMAND_OK)
{
fprintf(stderr, "%s", PQerrorMessage(con));
exit(1);

---
ITAGAKI Takahiro <itagaki(dot)takahiro(at)lab(dot)ntt(dot)co(dot)jp>
NTT Cyber Space Laboratories
Nippon Telegraph and Telephone Corporation.

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-05-23 04:59:49 Re: Updated kerberos service name patch
Previous Message Neil Conway 2005-05-23 02:07:08 Re: bug fix - plperl %_SHARED misspelled