1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Now that I look at it, PQoidValue() ain't quite right either.

This commit is contained in:
Tom Lane
2001-02-06 02:02:27 +00:00
parent 8558054aa4
commit 300e28888f

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.99 2001/02/06 02:00:09 tgl Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.100 2001/02/06 02:02:27 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -2049,7 +2049,7 @@ Oid
PQoidValue(const PGresult *res) PQoidValue(const PGresult *res)
{ {
char *endptr = NULL; char *endptr = NULL;
long int result; unsigned long result;
if (!res || !res->cmdStatus || strncmp(res->cmdStatus, "INSERT ", 7) != 0) if (!res || !res->cmdStatus || strncmp(res->cmdStatus, "INSERT ", 7) != 0)
return InvalidOid; return InvalidOid;