We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4550c1e commit a99b285Copy full SHA for a99b285
contrib/pgbench/pgbench.c
@@ -1,5 +1,5 @@
1
/*
2
- * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.35 2004/11/09 06:09:31 neilc Exp $
+ * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.36 2005/05/24 00:26:40 neilc Exp $
3
*
4
* pgbench: a simple TPC-B like benchmark program for PostgreSQL
5
* written by Tatsuo Ishii
@@ -622,7 +622,7 @@ init(void)
622
for (i = 0; i < (sizeof(DDLAFTERs) / sizeof(char *)); i++)
623
{
624
res = PQexec(con, DDLAFTERs[i]);
625
- if (strncmp(DDLs[i], "drop", 4) && PQresultStatus(res) != PGRES_COMMAND_OK)
+ if (PQresultStatus(res) != PGRES_COMMAND_OK)
626
627
fprintf(stderr, "%s", PQerrorMessage(con));
628
exit(1);
0 commit comments