suspicous looking code in copy.c

From: Dave Cramer <dave(at)fastcrypt(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: suspicous looking code in copy.c
Date: 2003-08-28 10:28:16
Message-ID: 1062066496.1680.48.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

This just doesn't look right.

line 364
case COPY_NEW_FE:

while (datasize > 0 && !fe_eof)
....

line 408 datasize =- avail;

shouldn't it be datasize -= avail ?

Dave

--
Dave Cramer <dave(at)fastcrypt(dot)com>
fastcrypt

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Kräutner 2003-08-28 10:28:30 Re: Possible bug in update?
Previous Message Curt Sampson 2003-08-28 10:14:21 Re: NOTICE vs WARNING