提交 1960f4be 编写于 作者: T Tom Lane

Ooops ... 'char c' can hold a char, but it can't hold EOF ...

上级 1cc7e40c
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.99 2000/01/26 05:56:13 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.100 2000/02/09 00:10:11 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1138,7 +1138,7 @@ CopyReadNewline(FILE *fp, int *newline) ...@@ -1138,7 +1138,7 @@ CopyReadNewline(FILE *fp, int *newline)
static char * static char *
CopyReadAttribute(FILE *fp, bool *isnull, char *delim, int *newline, char *null_print) CopyReadAttribute(FILE *fp, bool *isnull, char *delim, int *newline, char *null_print)
{ {
char c; int c;
#ifdef MULTIBYTE #ifdef MULTIBYTE
int mblen; int mblen;
unsigned char s[2]; unsigned char s[2];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册