]> 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:12 +0000 (17:50 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 28 Jun 2007 17:50:12 +0000 (17:50 +0000)
commit973e33dae72e701d0e1bb9ba1be32c500a130603
tree7673208604b26c6918992427aa58c7ef5505893a
parentee9796e44809ec11316f9271ee2e5d604f7d1319
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