Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0022dea

Browse files
committed
Fixed a botched patch...
Pointed out by Andrew...
1 parent20d44ee commit0022dea

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/backend/commands/copy.c

Lines changed: 4 additions & 3 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.3 1996/10/28 22:09:30 scrappy Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.2.2.4 1996/10/29 19:03:48 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -733,7 +733,8 @@ CopyReadAttribute(FILE *fp, bool *isnull, char *delim)
733733
charc;
734734
intdone=0;
735735
inti=0;
736-
736+
737+
*isnull= (bool) false;/* set default */
737738
if (feof(fp))
738739
return(NULL);
739740

@@ -742,7 +743,7 @@ CopyReadAttribute(FILE *fp, bool *isnull, char *delim)
742743

743744
if (feof(fp))
744745
return(NULL);
745-
}elseif (c== '\\') {
746+
elseif (c=='\\') {
746747
c=getc(fp);
747748
#ifdefESCAPE_PATCH
748749
#defineISOCTAL(c) (((c) >= '0') && ((c) <= '7'))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp