Re: [PATCH] pg_result_sqlstate

From: Date: Mon, 08 Nov 2004 15:46:00 +0000
Subject: Re: [PATCH] pg_result_sqlstate
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-13792@lists.php.net to get a copy of this message
Same logic is applicable, in the event of failure false or invalid resource maybe returned. Ilia Markus Bertheau wrote:
В Пнд, 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


« previous php.internals (#13792) next »