diff options
author | Bruce Momjian | 2000-02-16 23:07:31 +0000 |
---|---|---|
committer | Bruce Momjian | 2000-02-16 23:07:31 +0000 |
commit | 0d9a0ed6d1f36f2bf6cf7a4f16833cd81623c78d (patch) | |
tree | 65cf2c8eedd85e7e904412b1215bfc3c8f8467bf | |
parent | a52692213c201ba97730defe6e8230de43f7b3a2 (diff) |
Package: postgresql
Version: 6.5.3-11
Severity: important
'char' is not a signed type by default on powerpc; therefore a character
can
never be equal to EOF (-1). A patch is attached.
Dan
/--------------------------------\ /--------------------------------\
| Daniel Jacobowitz |__| SCS Class of 2002 |
-rw-r--r-- | src/interfaces/odbc/connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/odbc/connection.c b/src/interfaces/odbc/connection.c index 0d805a413a7..bf67b9e6163 100644 --- a/src/interfaces/odbc/connection.c +++ b/src/interfaces/odbc/connection.c @@ -822,7 +822,8 @@ QResultClass * CC_send_query(ConnectionClass *self, char *query, QueryInfo *qi) { QResultClass *result_in, *res = NULL; -char id, swallow; +char swallow; +int id; SocketClass *sock = self->sock; static char msgbuffer[MAX_MESSAGE_LEN+1]; char cmdbuffer[MAX_MESSAGE_LEN+1]; // QR_set_command() dups this string so dont need static |