[DBD::Pg] Do not assume oid will fit in an int! Per RT 85836 https://rt.cpan.org/Public/Bug/Display.html?id=85836
dbdpg-commits-gENoVmVU/[email protected] Mon, 1 Jul 2013 21:47:27 -0400
| Newsgroups | gmane.comp.db.postgresql.dbdpg.cvs |
|---|---|
| Message-ID | <[email protected]> |
Committed by Greg Sabino Mullane <greg-O9fzpki4YnJWk0Htik3J/[email protected]> Do not assume oid will fit in an int! Per RT 85836 https://rt.cpan.org/Public/Bug/Display.html?id=85836 --- dbdimp.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/dbdimp.c b/dbdimp.c index c28aeed..494033f 100644 --- a/dbdimp.c +++ b/dbdimp.c @@ -3466,7 +3466,6 @@ AV * dbd_st_fetch (SV * sth, imp_sth_t * imp_sth) else sv_setiv(sv, '1' == *value ? 1 : 0); break; - case PG_OID: case PG_INT4: case PG_INT2: sv_setiv(sv, atol((char *)value)); -- 1.7.1