Take a chance that I'm correct:

attno is used in an if statement, yet isn't defined, nor used
anywhere else (~line 945)
This commit is contained in:
Marc G. Fournier 1996-08-26 06:53:03 +00:00
parent 2af4f0aa7c
commit aeb6656433
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.2.2.1 1996/08/24 20:53:39 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.2.2.2 1996/08/26 06:53:03 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@ -742,7 +742,7 @@ CopyReadAttribute(FILE *fp, bool *isnull, char *delim)
if (feof(fp)) {
*isnull = (bool) false;
return(NULL);
}else if (reading_from_input && attno == 0 && i == 0 && c == '.') {
}else if (reading_from_input && i == 0 && c == '.') {
attribute[0] = c;
c = getc(fp);
if (c == '\n') {