Re: [PHP4BETA] MySQL module #2
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] MySQL module #2 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4128@lists.php.net to get a copy of this message | ||
Mail it to the list. There are other people here who can fix stuff like
this...
On Sun, 5 Sep 1999, Oliver Billmann wrote:
> 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-+-----------------------------+
>
> --
> PHP 4 Beta
>
>