Re: [BUGS] [PATCHES] Patch to allow contrib/pgbench files to have blank lines

2005-12-09 Thread Tom Lane
David Fetter <[EMAIL PROTECTED]> writes: > Please apply the following patch that removes an unneeded (and broken) > counter increment. Done. regards, tom lane ---(end of broadcast)--- TIP 9: In versions below 8.0, the planne

Re: [BUGS] [PATCHES] Patch to allow contrib/pgbench files to have blank lines

2005-12-09 Thread David Fetter
On Wed, Nov 23, 2005 at 10:24:00PM +0900, Tatsuo Ishii wrote: > > Having blank lines in -f scripts was causing silent failures. > > This fixes it, for some value of "fixes." If it's OK, please > > apply to 8.1 CURRENT and CVS TIP :) > > Thanks. I have committed your patches to current and 8.1 sta

Re: [BUGS] [PATCHES] Patch to allow contrib/pgbench files to have blank lines

2005-12-07 Thread Nicolas Barbier
On 11/23/05, David Fetter <[EMAIL PROTECTED]> wrote: > Having blank lines in -f scripts was causing silent failures. This > fixes it, for some value of "fixes." If it's OK, please apply to 8.1 > CURRENT and CVS TIP :) > if (strncmp(buf, "\n", 1) != 0) { > commands = process_commands(buf); >