PHP 4.0 Bug #7658 Updated: Apache segmentation fault error (11) in ibase_query/_prepare
| From: | jah@php.net | Date: | Mon, 06 Nov 2000 09:19:09 +0000 |
| Subject: | PHP 4.0 Bug #7658 Updated: Apache segmentation fault error (11) in ibase_query/_prepare | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37237@lists.php.net to get a copy of this message | ||
ID: 7658
Updated by: jah
Reported By: osvaldot@advcom.it
Status: Closed
Bug Type: InterBase related
Assigned To:
Comments:
Already fixed in current CVS. Wait for 4.0.4 or fetch a new
version of ext/interbase/interbase.c from
http://cvs.php.net/viewcvs.cgi/~checkout~/php4/ext/interbase/interbase.c?rev=1.45
and recompile.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-06 04:09:06] osvaldot@advcom.it
$query = ibase_prepare("SELECT * FROM table where filed= ?");
$result=ibase_execute($query, $value);
On php version > php4.0.1pl2 this fuction return:
to the Brouser: Document contain no data,
Apache: Segmentation Fault error (11)
I have result the problem, but It is the right sintax ???
$Q="SELECT * from table where field ='$value' ";
$query= ibase_prepare($Q);
$result=ibase_execute($query);
Best Reguard
Osvaldo Tulini osvaldot@advcom.it
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7658