Re: [PATCH] pg_result_sqlstate
| From: | Markus Bertheau | Date: | Mon, 08 Nov 2004 15:41:58 +0000 |
| Subject: | Re: [PATCH] pg_result_sqlstate | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13791@lists.php.net to get a copy of this message | ||
В Пнд, 08.11.2004, в 16:33, Ilia Alshanetsky пишет:
> The error functions do so because they are likely to be called if
> creation of a connection fails so there may not always be a valid
> resource. The state checking function would presumably be only run on a
> valid connection and consequently should be strict about the resource
> parameter (IMO).
Both function take result resources, not connection resources.
Markus
--
Markus Bertheau <twanger@bluetwanger.de>