]> granicus.if.org Git - postgresql/commit
Fix incorrect tests for undef Perl values in some places in plperl.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 Jun 2007 17:50:17 +0000 (17:50 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 Jun 2007 17:50:17 +0000 (17:50 +0000)
commited368c1b8eb9cc7b17d6c918ff69e11789d06462
tree6baccf3739de884401655ff180a7ccc410281816
parent12b9a64ccced721780f7e27102a48ae582e7530c
Fix incorrect tests for undef Perl values in some places in plperl.c.
The correct test for defined-ness is SvOK(sv), not anything involving
SvTYPE.  Per bug #3415 from Matt Taylor.
Back-patch as far as 8.0; no apparent problem in 7.x.
src/pl/plperl/plperl.c