Re: [PHP4BETA] MySQL module #2

From: Date: Sun, 05 Sep 1999 16:21:09 +0000
Subject: Re: [PHP4BETA] MySQL module #2
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-4127@lists.php.net to get a copy of this message
In article <37D24995.BD78271B@tig.com.au>, mcgarry@tig.com.au writes: >> Just gave it a try and it looked pretty good, until I tried to use >> mysql_insert_id(). In the apache error_log I found the following :-( >> >> [Sun Sep 5 13:34:33 1999] [notice] child pid 24305 exit signal Segmentation fault > > Yeah, > > I wrote an email to Zeev earlier saying I thought it was working fine, > but I think I may have still been running PHP3 (dufus alert!). > > I get a similar Segmentation fault running the following script: [...] I did a little code reading and found the problem. And it is in PHP 3.0.13-dev too! So stick with 3.0.12 if you need a working version ;-) I just mailed it to Zeev and hope he fixes it pretty soon... The problem actually is in mysql_query when one runs a query like "INSERT..." which does not return a result... Oliver -- \\\/// +--------------------+ \\// +-----------------------------+ | Oliver Billmann | ( .. ) | oliver@billix.franken.de | +--------------------+-ooO-(__)-Ooo-+-----------------------------+

« previous php.version4 (#4127) next »