summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-08-26 06:53:03 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-08-26 06:53:03 +0000
commitaeb6656433e13f4d0dc382d18aa93373ed744c8a (patch)
tree6d1d78368d669f1bfcbb643af8c2346415f1290c
parent2af4f0aa7c966cb4ccf2f6414d4497ad2d7ea0fc (diff)
downloadpostgresql-aeb6656433e13f4d0dc382d18aa93373ed744c8a.tar.gz
Take a chance that I'm correct:
attno is used in an if statement, yet isn't defined, nor used anywhere else (~line 945)
-rw-r--r--src/backend/commands/copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c
index 296f0cd5c7..8f89ecf7a3 100644
--- a/src/backend/commands/copy.c
+++ b/src/backend/commands/copy.c
@@ -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') {