projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08e3419
)
Remove incorrect increment of lineno, per David Fetter.
author
Tom Lane
<
[email protected]
>
Sat, 10 Dec 2005 01:09:14 +0000
(
01:09
+0000)
committer
Tom Lane
<
[email protected]
>
Sat, 10 Dec 2005 01:09:14 +0000
(
01:09
+0000)
Sync HEAD and 8.1 branches of pgbench.
contrib/pgbench/pgbench.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pgbench/pgbench.c
b/contrib/pgbench/pgbench.c
index 1c373dd238639b1586f64f7903c00acb336db42c..3b6e68ad8766bed531cb627774c66f34acf05e1c 100644
(file)
--- a/
contrib/pgbench/pgbench.c
+++ b/
contrib/pgbench/pgbench.c
@@
-898,10
+898,8
@@
process_file(char *filename)
fclose(fd);
return false;
}
- } else {
- lineno++;
+ } else
continue;
- }
my_commands[lineno] = commands;
lineno++;
@@
-1120,8
+1118,7
@@
main(int argc, char **argv)
fprintf(stderr, "Use limit/ulimt to increase the limit before using pgbench.\n");
exit(1);
}
-#endif /* #if !(defined(__CYGWIN__) ||
- * defined(__MINGW32__)) */
+#endif
break;
case 'C':
is_connect = 1;