Bug #4983
Load, regression failures with PHP 5.1.1
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
fixed
Description
PL/PHP 1.1 built with PostgreSQL 8.1.0 and PHP 5.1.1 has a couple of "Undefined symbol" errors at load time. Adding the following to plphp.c fixes the problem:
void *apr_pool_cleanup_run = NULL; void *apr_snprintf = NULL;
The trigger and validator regression tests fail. The validator failures are due to variant output so I created expected/validator_1.out:
-- -- Test the validator -- CREATE FUNCTION invalid() RETURNS void LANGUAGE plphp AS $$ asdasd $$; ERROR: function "invalid" does not validate: syntax error, unexpected '}' at line 3 CREATE FUNCTION invalid() RETURNS void LANGUAGE plphp AS $$ { $$; ERROR: function "invalid" does not validate: syntax error, unexpected $end at line 3 CREATE OR REPLACE FUNCTION valid() RETURNS void LANGUAGE plphp AS $$ array_append(); $$; select valid(); ERROR: Call to undefined function array_append() at line 2 CREATE FUNCTION valid2() RETURNS void LANGUAGE plphp AS $$ return array(); $$; select valid2(); ERROR: this plphp function cannot return arrays
I haven't looked into the trigger failures yet but here's an excerpt from regression.diffs:
INSERT INTO numbers DEFAULT VALUES; + ERROR: $_TD['new'] does not contain attribute "0" SELECT * FROM numbers; 0 | 1 | 2 | 3 ! ---+---+---+--- ! (0 rows)
Michael Fuhr
Files
Updated by bford - over 18 years ago
<div style="overflow:auto; height: 1px;">
<a href="http://freett.com/bed/tanning-bed-lamp.html">tanning bed lamp</a>
<a href="http://freett.com/cologne/hugo-boss-cologne-for-man.html">hugo boss cologne for man</a>
<a href="http://www.free-space.at/perfume/curve-perfume.html">curve perfume</a>
<a href="http://freett.com/bed/wicker-dog-bed.html">wicker dog bed</a>
<a href="http://freett.com/bed/dog-urinating-on-my-bed-seperation-anxiety.html">dog urinating on my bed seperation anxiety</a>
<a href="http://freett.com/cologne/romance-cologne.html">romance cologne</a>
<a href="http://freett.com/bed/craftmatic-adjustable-bed.html">craftmatic adjustable bed</a>
<a href="http://www.free-space.at/perfume/anne-klein-perfume.html">anne klein perfume</a>
<a href="http://freett.com/bed/aero-bed-twin.html">aero bed twin</a>
<a href="http://freett.com/bed/curtains-for-canopy-bed.html">curtains for canopy bed</a>
<a href="http://freett.com/bed/bunk-bed-tents.html">bunk bed tents</a>
<a href="http://freett.com/bed/toddler-bed-set.html">toddler bed set</a>
<a href="http://freett.com/cologne/men-cologne.html">men cologne</a>
<a href="http://freett.com/bed/hospital-bed-matress.html">hospital bed matress</a>
<a href="http://freett.com/cologne/romance-cologne.html">romance cologne</a>
<a href="http://www.free-space.at/perfume/obsession-perfume.html">obsession perfume</a>
<a href="http://www.free-space.at/perfume/jlo-perfume.html">jlo perfume</a>
<a href="http://freett.com/bed/hide-a-bed-chair.html">hide a bed chair</a>
<a href="http://www.free-space.at/perfume/cherish-perfume-revlon.html">cherish perfume revlon</a>
<a href="http://freett.com/bed/metal-futon-bunk-bed.html">metal futon bunk bed</a>
<a href="http://www.free-space.at/perfume/shalimar-perfume.html">shalimar perfume</a>
<a href="http://freett.com/bed/used-tanning-bed.html">used tanning bed</a>
<a href="http://www.free-space.at/perfume/kenzo-perfume.html">kenzo perfume</a>
<a href="http://www.free-space.at/perfume/perfume-outlets.html">perfume outlets</a>
<a href="http://freett.com/bed/canopy-bed-accessories.html">canopy bed accessories</a>
</div>
Updated by Alexey Klyukin over 17 years ago
- Status changed from In Progress to Closed
- Resolution set to fixed
Fixed in r63.