Skip to content

Commit aeb6656

Browse files
committed
Take a chance that I'm correct:
attno is used in an if statement, yet isn't defined, nor used anywhere else (~line 945)
1 parent 2af4f0a commit aeb6656

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/copy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.2.2.1 1996/08/24 20:53:39 scrappy Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.2.2.2 1996/08/26 06:53:03 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -742,7 +742,7 @@ CopyReadAttribute(FILE *fp, bool *isnull, char *delim)
742742
if (feof(fp)) {
743743
*isnull = (bool) false;
744744
return(NULL);
745-
}else if (reading_from_input && attno == 0 && i == 0 && c == '.') {
745+
}else if (reading_from_input && i == 0 && c == '.') {
746746
attribute[0] = c;
747747
c = getc(fp);
748748
if (c == '\n') {

0 commit comments

Comments
 (0)