Re: Re: Bug #695 Updated: mysql_error can't fetchtheerror afte the d

From: Date: Sat, 05 Sep 1998 18:48:35 +0000
Subject: Re: Re: Bug #695 Updated: mysql_error can't fetchtheerror afte the d
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-817@lists.php.net to get a copy of this message
Hello Zeev, On 04-Sep-98 06:37:40, you wrote: >At 02:39 04/09/98 +0000, Manuel Lemos wrote: >>mysql_error() takes an optional link number argument? The current >>documentation doesn't mention that. >Well, it does. Really? Where? It doesn't seem to be in the HTML documentation on mysql_error() function that it is online unless you just added it now. >>Ok, but since the documentation says that it returns the last error message >>returned by the backend, IMHO it would be logic that it would return the >>last error even if the respective connection was closed. >Well, since PHP doesn't store the error message but MySQL, the error text >is fetched on-demand from the MySQL server. If the link is closed before >that, it's impossible to fetch that text. I understand that now that you explain it but I don't anybody else would guess it from what is written in the documentation. Regards, Manuel Lemos E-mail: mlemos@acm.org URL: http://www.e-na.net/the_author.html PGP key: finger://mlemos@zeus.ci.ua.pt -- -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#817) next »